hashicorp / setup-terraform

Sets up Terraform CLI in your GitHub Actions workflow.
https://developer.hashicorp.com/terraform/tutorials/automation/github-actions
Mozilla Public License 2.0
1.38k stars 243 forks source link

Add "-input=false" to commands in README.md #440

Open artemious7 opened 1 month ago

artemious7 commented 1 month ago

If any terraform CLI command requires input, the pipeline will wait indefinitely. The solution is to add -input=false to every applicable terraform command, like so:

terraform plan -out=tfplan -input=false

See the docs for more info.

I think the Readme file here should reflect that. There was a PR to fix the Readme file: #60. The discussion there suggested a solution to use an environment variable to disable requests for input, but it doesn't solve this problem since it has a different purpose (see here)

Fixes #150

hashicorp-cla-app[bot] commented 1 month ago

CLA assistant check
All committers have signed the CLA.

hashicorp-cla-app[bot] commented 1 month ago

CLA assistant check

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement

Learn more about why HashiCorp requires a CLA and what the CLA includes

Have you signed the CLA already but the status is still pending? Recheck it.