terraform/website/docs/cli/commands
Martin Atkins 3c8a4e6e05 command+backend/local: -refresh-only and drift detection
This is a light revamp of our plan output to make use of Terraform core's
new ability to report both the previous run state and the refreshed state,
allowing us to explicitly report changes made outside of Terraform.

Because whether a plan has "changes" or not is no longer such a
straightforward matter, this now merges views.Operation.Plan with
views.Operation.PlanNoChanges to produce a single function that knows how
to report all of the various permutations. This was also an opportunity
to fill some holes in our previous logic which caused it to produce some
confusing messages, including a new tailored message for when
"terraform destroy" detects that nothing needs to be destroyed.

This also allows users to request the refresh-only planning mode using a
new -refresh-only command line option. In that case, Terraform _only_
performs drift detection, and so applying a refresh-only plan only
involves writing a new state snapshot, without changing any real
infrastructure objects.
2021-05-13 09:05:06 -07:00
..
providers
state command: use -lock=false consistently in -help output 2021-05-12 09:27:37 -07:00
workspace command: use -lock=false consistently in -help output 2021-05-12 09:27:37 -07:00
0.12upgrade.html.md
0.13upgrade.html.md
apply.html.md command: use -lock=false consistently in -help output 2021-05-12 09:27:37 -07:00
console.html.md command: Reorganize docs of the local backend's legacy CLI options 2021-03-25 13:56:48 -07:00
destroy.html.md website: Reworking of the "terraform plan" docs, and related pages 2021-04-30 14:27:36 -07:00
env.html.md
fmt.html.md
force-unlock.html.md
get.html.md
graph.html.md cli: Remove positional plan argument from graph 2021-02-02 13:21:26 -05:00
import.html.md command: use -lock=false consistently in -help output 2021-05-12 09:27:37 -07:00
index.html.md
init.html.md docs: correct spelling of normally (#28508) 2021-04-30 12:24:02 -04:00
login.html.md
logout.html.md
output.html.md
plan.html.md command+backend/local: -refresh-only and drift detection 2021-05-13 09:05:06 -07:00
providers.html.md
push.html.md
refresh.html.md website: Reworking of the "terraform plan" docs, and related pages 2021-04-30 14:27:36 -07:00
show.html.md update show -json docs 2021-02-23 11:45:50 -05:00
taint.html.md cli+website: -ignore-remote-version docs and other cleanup 2021-05-12 09:27:37 -07:00
test.html.md website: Initial docs for the module integration testing experiment 2021-02-22 14:21:45 -08:00
untaint.html.md command: use -lock=false consistently in -help output 2021-05-12 09:27:37 -07:00
validate.html.md documentation: Clarify JSON diagnostic traversal 2021-03-17 11:46:24 -04:00
version.html.md