ci: pass aws_account_id via GitHub secret to terraform jobs
This commit is contained in:
@@ -272,6 +272,8 @@ jobs:
|
||||
|
||||
- name: Terraform Plan
|
||||
run: terraform plan -no-color
|
||||
env:
|
||||
TF_VAR_aws_account_id: ${{ secrets.TF_VAR_AWS_ACCOUNT_ID }}
|
||||
|
||||
terraform-apply:
|
||||
name: Terraform Apply
|
||||
@@ -302,3 +304,5 @@ jobs:
|
||||
|
||||
- name: Terraform Apply
|
||||
run: terraform apply -auto-approve
|
||||
env:
|
||||
TF_VAR_aws_account_id: ${{ secrets.TF_VAR_AWS_ACCOUNT_ID }}
|
||||
|
||||
Reference in New Issue
Block a user