opentofu/command/e2etest
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
..
testdata Give suggestions & remind users to use required_providers when provider not in registry (#28014) 2021-03-11 08:54:18 -05:00
.gitignore command/e2etest: end-to-end testing harness 2017-07-17 14:25:33 -07:00
automation_test.go cleanup error handling and some for loops 2020-12-02 13:59:19 -05:00
doc.go command/e2etest: end-to-end testing harness 2017-07-17 14:25:33 -07:00
init_test.go Give suggestions & remind users to use required_providers when provider not in registry (#28014) 2021-03-11 08:54:18 -05:00
main_test.go [WIP] Re-enable the end-to-end tests (#20044) 2019-04-29 13:03:24 -04:00
make-archive.sh Standardise directory name for test data 2019-06-30 10:16:15 +02:00
primary_test.go command+backend/local: -refresh-only and drift detection 2021-05-13 09:05:06 -07:00
provider_dev_test.go command: Use different warning messaging in init command and move above potentially confusing output (#27514) 2021-02-01 10:50:08 -05:00
provider_plugin_test.go Add support for plugin protocol v6 (#27826) 2021-02-22 10:22:45 -05:00
providers_mirror_test.go e2etest staticcheck 2020-12-02 13:59:19 -05:00
provisioner_plugin_test.go Add support for plugin protocol v6 (#27826) 2021-02-22 10:22:45 -05:00
provisioner_test.go builtin provisioner e2e test 2021-01-19 17:48:30 -05:00
remote_state_test.go e2e test for remote state read 2020-06-24 14:09:59 -04:00
strip_ansi.go command: no visual warning hierarchy in -no-color 2021-01-27 09:26:53 -08:00
unmanaged_test.go cleanup error handling and some for loops 2020-12-02 13:59:19 -05:00
version_test.go remove old version call site 2020-12-02 12:45:00 -05:00