ci: pass aws_account_id via GitHub secret to terraform jobs
This commit is contained in:
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user