Commit 1f3add41 authored by Shinya Maeda's avatar Shinya Maeda

Merge branch '299770-migrate-terraform-template' into 'master'

Migrate Terraform template to use rules syntax

See merge request gitlab-org/gitlab!69634
parents 11da5cd8 a8684074
......@@ -53,10 +53,9 @@ cache:
- cd ${TF_ROOT}
- gitlab-terraform apply
resource_group: ${TF_STATE_NAME}
when: manual
only:
variables:
- $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
when: manual
.terraform:destroy: &terraform_destroy
stage: cleanup
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment