ci: pass aws_account_id via GitHub secret to terraform jobs

This commit is contained in:
ikechukwu Elizabeth
2026-04-29 07:17:53 +01:00
parent 6c11a6e675
commit a2eba05ce8
+5 -1
View File
@@ -272,6 +272,8 @@ jobs:
- name: Terraform Plan - name: Terraform Plan
run: terraform plan -no-color run: terraform plan -no-color
env:
TF_VAR_aws_account_id: ${{ secrets.TF_VAR_AWS_ACCOUNT_ID }}
terraform-apply: terraform-apply:
name: Terraform Apply name: Terraform Apply
@@ -301,4 +303,6 @@ jobs:
run: terraform init run: terraform init
- name: Terraform Apply - name: Terraform Apply
run: terraform apply -auto-approve run: terraform apply -auto-approve
env:
TF_VAR_aws_account_id: ${{ secrets.TF_VAR_AWS_ACCOUNT_ID }}