Update .gitlab-ci.yml, terraform/defaults.tf, terraform/main.tf, terraform/terraform.tfvars, terraform/variables.tf

This commit is contained in:
2022-11-05 13:11:08 +00:00
parent fc8f6ae53a
commit e18a59b0a5
5 changed files with 51 additions and 51 deletions

View File

@@ -16,14 +16,14 @@ format:
WORKDIR: $CI_PROJECT_DIR/terraform
allow_failure: false
extends: .terraform_fmt
#rules:
# - if: $CI_PIPELINE_SOURCE == "merge_request_event"
# changes:
# compare_to: refs/heads/main
# paths:
# - 'terraform/*'
# when: always
# - when: never
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
changes:
compare_to: refs/heads/main
paths:
- 'terraform/*'
when: always
- when: never
plan:
stage: lint