-
Notifications
You must be signed in to change notification settings - Fork 0
/
atlantis.yaml
30 lines (30 loc) · 954 Bytes
/
atlantis.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
version: 3
projects:
- dir: environments/platform
workflow: grafana-cloud-objects
workspace: grafana-cloud-objects-platform-ws-01
autoplan:
enabled: false
when_modified:
- "terragrunt.hcl"
- "../../terragrunt.hcl"
- "../../*.tf"
workflows:
grafana-cloud-objects:
plan:
steps:
- env:
name: TF_IN_AUTOMATION
value: "true"
- env:
name: TERRAGRUNT_TFPATH
value: /usr/local/bin/tofu
- env:
name: AWS_ACCESS_KEY_ID
command: "echo $PRODUCTION_AWS_ACCESS_KEY_ID"
- env:
name: AWS_SECRET_ACCESS_KEY
command: "echo $PRODUCTION_AWS_SECRET_ACCESS_KEY"
- run: terragrunt init -upgrade
- run: terragrunt plan -no-color --terragrunt-non-interactive -input=false -out=$PLANFILE --terragrunt-source-update
- run: terragrunt show -json $PLANFILE > $SHOWFILE