rick
05/25/2023, 7:21 PMworkflows:
terraform:
plan:
steps:
- env:
name: AWS_ACCESS_KEY_ID
value: ${{secrets.AWS_ACCESS_KEY_ID}}
- env:
name: AWS_SECRET_ACCESS_KEY
value: ${{secrets.AWS_SECRET_ACCESS_KEY}}
- env:
name: AWS_DEFAULT_REGION
value: ${{secrets.AWS_DEFAULT_REGION}}
- run: echo $AWS_ACCESS_KEY_ID
- init
- plan
version: 3
projects:
- name: project1
dir: all/core/
terraform_version: v0.14.7
workflow: terraform
jwr
05/25/2023, 7:45 PMatlantis.yml
, they would be populated by way of github actions workflows, if you are indeed running atlantis by way of github actions (which probably isn't common).
but if you are indeed running atlantis by way of github actions, then your environment variables should be populated in .github/workflows/*.yml
rick
05/25/2023, 8:00 PMjwr
05/25/2023, 8:01 PMrick
05/25/2023, 8:01 PMjwr
05/25/2023, 8:02 PMatlantis.yml
has no involvement in that part.rick
05/25/2023, 8:03 PMjwr
05/25/2023, 8:04 PMrick
05/25/2023, 8:07 PMjwr
05/25/2023, 8:10 PMterraform plan
and terraform apply
in multiple repos.rick
05/25/2023, 8:14 PMjwr
05/25/2023, 8:15 PMrick
05/25/2023, 8:17 PMjwr
05/25/2023, 8:17 PMrick
05/26/2023, 10:05 AM