terraform/website/docs/cli
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
..
auth website: CLI: Update links to moved docs pages 2021-01-22 12:22:21 -08:00
code website: CLI: Update links to moved docs pages 2021-01-22 12:22:21 -08:00
commands command+backend/local: -refresh-only and drift detection 2021-05-13 09:05:06 -07:00
config docs: small update for provider binary locations (#28413) 2021-04-19 09:04:46 -04:00
import website: CLI: Remove several ghost pages, update old links 2021-01-22 12:22:21 -08:00
init website: CLI: Update links to moved docs pages 2021-01-22 12:22:21 -08:00
inspect website: CLI: Update links to moved docs pages 2021-01-22 12:22:21 -08:00
install Fix apt install typo (#27074) 2020-12-03 10:23:14 -04:00
plugins website: CLI: Update links to moved docs pages 2021-01-22 12:22:21 -08:00
run website: CLI: Update links to moved docs pages 2021-01-22 12:22:21 -08:00
state website: Reworking of the "terraform plan" docs, and related pages 2021-04-30 14:27:36 -07:00
workspaces website: CLI: Update links to moved docs pages 2021-01-22 12:22:21 -08:00
index.html.md website: CLI: Move docs files to match new URLs 2021-01-22 12:22:21 -08:00