Jason Reslock
04/19/2023, 12:32 PMv0.20.1
to `v0.23.5`with zero problems yesterday!PePe Amengual
04/19/2023, 3:54 PMJason Reslock
04/19/2023, 6:56 PMrepos:
- id: /.*/
# allowed_overrides specifies which keys can be overridden by this repo in
# its atlantis.yaml file.
allowed_overrides: [apply_requirements, workflow]
apply_requirements: [approved,mergeable]
# allow_custom_workflows defines whether this repo can define its own
# workflows. If false (default), the repo can only use server-side defined
# workflows.
allow_custom_workflows: true
# This hook is to work around <https://github.com/runatlantis/atlantis/issues/2221>
pre_workflow_hooks:
- run: git config --global --add safe.directory '*'
# Defining default and release workflows here to centralize simplify for self-service repos
workflows:
default:
plan:
steps:
- init
- plan
apply:
steps:
- apply
release:
plan:
steps:
- init
- plan:
extra_args: ["-var-file", "environment.tfvars"]
apply:
steps:
- apply
atlantis.yaml:
version: 3
parallel_plan: true
parallel_apply: true
projects:
- dir: terraform/environments/dev
workflow: release
autoplan:
when_modified: ["../../modules/**/*.tf", "*.tf*"]
- dir: terraform/environments/prod
workflow: release
autoplan:
when_modified: ["../../modules/**/*.tf", "*.tf*"]
Quynh Nguyen
04/21/2023, 1:27 AMJason Reslock
04/21/2023, 1:12 PM