terraform/website/docs/commands
Martin Atkins 400038eda4 command: "terraform apply" uses interactive confirmation by default
In the 0.10 release we added an opt-in mode where Terraform would prompt
interactively for confirmation during apply. We made this opt-in to give
those who wrap Terraform in automation some time to update their scripts
to explicitly opt out of this behavior where appropriate.

Here we switch the default so that a "terraform apply" with no arguments
will -- if it computes a non-empty diff -- display the diff and wait for
the user to type "yes" in similar vein to the "terraform destroy" command.

This makes the commonly-used "terraform apply" a safe workflow for
interactive use, so "terraform plan" is now mainly for use in automation
where a separate planning step is used. The apply command remains
non-interactive when given an explicit plan file.

The previous behavior -- though not recommended -- can be obtained by
explicitly setting the -auto-approve option on the apply command line,
and indeed that is how all of the tests are updated here so that they can
continue to run non-interactively.
2017-11-01 06:54:39 -07:00
..
state update state rm amd mv docs 2017-08-03 13:24:23 -04:00
workspace
apply.html.markdown command: "terraform apply" uses interactive confirmation by default 2017-11-01 06:54:39 -07:00
cli-config.html.markdown website: document explicitly the CLI configuration file 2017-09-29 14:03:09 -07:00
console.html.markdown
destroy.html.markdown
env.html.markdown
fmt.html.markdown website: documentation for fmt -check flag 2017-07-21 14:37:15 -05:00
force-unlock.html.markdown website: Correct usage for force-unlock command 2017-07-18 09:02:29 -07:00
get.html.markdown
graph.html.markdown
import.html.md update import command docs 2017-08-09 14:01:45 -04:00
index.html.markdown website: checkpoint settings refer to CLI config file docs 2017-09-29 14:03:09 -07:00
init.html.markdown website: correct the spelling of the -from-module arg to "terraform init" 2017-08-10 17:56:11 -07:00
output.html.markdown
plan.html.markdown command: "terraform apply" uses interactive confirmation by default 2017-11-01 06:54:39 -07:00
providers.html.markdown
push.html.markdown
refresh.html.markdown Autoload only .auto.tfvars files 2017-07-05 17:24:17 -07:00
show.html.markdown
taint.html.markdown Provide example for terraform taint documentation (#15873) 2017-08-22 13:47:30 -05:00
untaint.html.markdown
validate.html.markdown command/validate: Add flag to check that all variables are specified (#13872) 2017-07-05 17:32:29 +01:00