Commit aceb8a49 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

Merge branch 'tf-plan-comment' into 'master'

chore(doc): wrong comment about tf_plan

Closes #105

See merge request to-be-continuous/terraform!152
parents c53263af e9c0833f
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}