Skip to content

Commit e5ac8a8

Browse files
committed
1 parent 71313aa commit e5ac8a8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/provision-by-terraform.yml

+6
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,16 @@ jobs:
9090
9191
- name: Run terraform init
9292
working-directory: infra/terraform
93+
env:
94+
# https://developer.hashicorp.com/terraform/cli/config/environment-variables#tf_in_automation
95+
TF_IN_AUTOMATION: true
9396
run: terraform init
9497

9598
- name: Run terraform plan
9699
working-directory: infra/terraform
100+
env:
101+
# https://developer.hashicorp.com/terraform/cli/config/environment-variables#tf_in_automation
102+
TF_IN_AUTOMATION: true
97103
run: >-
98104
terraform plan \
99105
-detailed-exitcode \

0 commit comments

Comments
 (0)