Skip to content
Commit fbf6481b authored by Dom Does's avatar Dom Does Committed by Pierre Smeyers
Browse files

fix: remove -auto-approve from apply jobs with upstream plans

The -auto-approve option is ignored when a plan is present, as explained by the
[documentation](https://developer.hashicorp.com/terraform/cli/commands/apply#auto-approve). When
this option is present for a Terraform Enterprise/Cloud setup, the apply command is never run, and
the CLI job times out. Considering the option is ignored (also by [older
versions](https://developer.hashicorp.com/terraform/cli/v1.1.x/commands/apply#auto-approve)),
removing the option entirely seems to be the best solution.
parent 6ba83d40
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment