Commit 1ad29bee authored by Cédric OLIVIER's avatar Cédric OLIVIER
Browse files

Merge branch 'fix/use-plan-artifact' into 'master'

fix: applying the plan from the plan job

See merge request to-be-continuous/terraform!97
parents 2437ed4b 07c42bc1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -693,7 +693,7 @@ stages:
  extends: .tf-base
  stage: infra
  script:
    - if [[ "$ENV_PLAN_ENABLED" == "true" ]]; then tfplan="${ENV_TYPE}.tfplan"; fi
    - if [[ "$ENV_PLAN_ENABLED" == "true" ]]; then tf_plan="${ENV_TYPE}.tfplan"; fi
    - !reference [ .tf-commands, apply ]
  artifacts:
    name: "$CI_JOB_NAME artifacts from $CI_PROJECT_NAME on $CI_COMMIT_REF_SLUG"