Last active
August 3, 2019 12:08
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
repos: | |
- id: /.*/ | |
# apply_requirements sets the Apply Requirements for all repos that match. | |
apply_requirements: [mergeable] | |
# workflow sets the workflow for all repos that match. | |
# This workflow must be defined in the workflows section. | |
allowed_overrides: [workflow] | |
# The deault workflow | |
workflow: terragrunt | |
# workflows lists server-side custom workflows | |
workflows: | |
terragrunt: | |
plan: | |
steps: | |
- run: terragrunt plan -no-color -out $PLANFILE | |
apply: | |
steps: | |
- run: terragrunt apply -no-color -auto-approve | |
central: | |
plan: | |
steps: | |
- run: terragrunt plan --terragrunt-iam-role "arn:aws:iam::1234567890123:role/atlantis" -no-color -out $PLANFILE | |
apply: | |
steps: | |
- run: terragrunt apply --terragrunt-iam-role "arn:aws:iam::1234567890123:role/atlantis" -no-color -auto-approve | |
development: | |
plan: | |
steps: | |
- run: terragrunt plan --terragrunt-iam-role "arn:aws:iam::2345678901234:role/atlantis" -no-color -out $PLANFILE | |
apply: | |
steps: | |
- run: terragrunt apply --terragrunt-iam-role "arn:aws:iam::2345678901234:role/atlantis" -no-color -auto-approve | |
staging: | |
plan: | |
steps: | |
- run: terragrunt plan --terragrunt-iam-role "arn:aws:iam::3456789012345:role/atlantis" -no-color -out $PLANFILE | |
apply: | |
steps: | |
- run: terragrunt apply --terragrunt-iam-role "arn:aws:iam::3456789012345:role/atlantis" -no-color -auto-approve | |
production: | |
plan: | |
steps: | |
- run: terragrunt plan --terragrunt-iam-role "arn:aws:iam::4567890123456:role/atlantis" -no-color -out $PLANFILE | |
apply: | |
steps: | |
- run: terragrunt apply --terragrunt-iam-role "arn:aws:iam::4567890123456:role/atlantis" -no-color -auto-approve | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment