Apply Hangs in CI
In CI, terraform apply hangs until the job times out. Locally it asks "Do you want to perform these actions?". Which command avoids the prompt while still applying only what was reviewed?
terraform apply
Choose one answer
terraform apply -input=false tfplan, applying the saved, reviewed plan.
terraform apply -input=false tfplan
terraform apply -lock=false, which skips the confirmation step.
terraform apply -lock=false
echo yes | terraform apply -refresh=false, which answers the prompt.
echo yes | terraform apply -refresh=false
terraform apply -auto-approve without a plan file, so it plans again.
terraform apply -auto-approve