Skip to content

Commit f66e437

Browse files
committed
chore: pass -input=false to Terraform on CI
1 parent fdc0702 commit f66e437

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
@@ -91,6 +91,9 @@ jobs:
9191
env:
9292
# https://developer.hashicorp.com/terraform/cli/config/environment-variables#tf_in_automation
9393
TF_IN_AUTOMATION: true
94+
# https://developer.hashicorp.com/terraform/cli/config/environment-variables#tf_input
95+
# https://developer.hashicorp.com/terraform/tutorials/automation/automate-terraform#automated-terraform-cli-workflow
96+
TF_INPUT: false
9497
run: terraform init
9598

9699
- name: Check whether there are no modified files
@@ -107,6 +110,9 @@ jobs:
107110
env:
108111
# https://developer.hashicorp.com/terraform/cli/config/environment-variables#tf_in_automation
109112
TF_IN_AUTOMATION: true
113+
# https://developer.hashicorp.com/terraform/cli/config/environment-variables#tf_input
114+
# https://developer.hashicorp.com/terraform/tutorials/automation/automate-terraform#automated-terraform-cli-workflow
115+
TF_INPUT: false
110116
run: >-
111117
terraform plan \
112118
-detailed-exitcode \

0 commit comments

Comments
 (0)