In this guide you will set up Digger to use completely segregated AWS accounts for Dev and Prod environments
Place digger.prod.yml
and digger.dev.yml
files in the root of your repo. Point dir
to folders with terraform
In each environment, create 2 secrets corresponding to your AWS accounts:
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
.github/workflows/digger-run-dev.yml
for dev.github/workflows/digger-run-prod.yml
for prodDon’t forget to change environment
and the Rename step from Dev to Prod
That’s it! Now you can use Digger to automate your Terraform PRs.
digger apply
to apply changesIn this guide you will set up Digger to use completely segregated AWS accounts for Dev and Prod environments
Place digger.prod.yml
and digger.dev.yml
files in the root of your repo. Point dir
to folders with terraform
In each environment, create 2 secrets corresponding to your AWS accounts:
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
.github/workflows/digger-run-dev.yml
for dev.github/workflows/digger-run-prod.yml
for prodDon’t forget to change environment
and the Rename step from Dev to Prod
That’s it! Now you can use Digger to automate your Terraform PRs.
digger apply
to apply changes