Commit e9c0833f authored by Clement Bois's avatar Clement Bois Committed by Pierre Smeyers
Browse files

docs: wrong comment about tf_plan

parent c53263af
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -907,7 +907,7 @@ stages:
    terraform show --json "$tf_plan" | jq -r '([.resource_changes[]?.change.actions?]|flatten)|{"create":(map(select(.=="create"))|length),"update":(map(select(.=="update"))|length),"delete":(map(select(.=="delete"))|length)}' > "$gitlab_report"
  }

  # $tf_plan might be propagated by dotenv artifact (optional)
  # $tf_plan is declared in .tf-create script (optional)
  function tf_apply() {
    opts=${ENV_APPLY_OPTS:-$TF_APPLY_OPTS}
    extra_opts=${ENV_EXTRA_OPTS:-$TF_EXTRA_OPTS}