terraform/command/format
Martin Atkins ce69c3903f command/views: Show refresh-detected changes as part of a plan
We've always had a mechanism to synchronize the Terraform state with
remote objects before creating a plan, but we previously kept the result
of that to ourselves, and so it would sometimes lead to Terraform
generating a planned action to undo some upstream drift, but Terraform
would give no context as to why that action was planned even though the
relevant part of the configuration hadn't changed.

Now we'll detect any differences between the previous run state and the
refreshed state and, if any managed resources now look different, show
an additional note about it as extra context for the planned changes that
follow.

This appears as an optional extra block of information before the normal
plan output. It'll appear the same way in all of the contexts where we
render plans, including "terraform show" for saved plans.
2021-05-13 09:05:06 -07:00
..
diagnostic.go cli: Fix crash with invalid JSON diagnostics 2021-05-04 08:35:42 -04:00
diagnostic_test.go cli: Fix crash with invalid JSON diagnostics 2021-05-04 08:35:42 -04:00
diff.go command/views: Show refresh-detected changes as part of a plan 2021-05-13 09:05:06 -07:00
diff_test.go command/format: fix repetitive "unchanged attribute hidden" message (#28589) 2021-05-04 10:23:50 -04:00
format.go command/format: a package for formatting plans/state for output 2017-01-26 14:33:49 -08:00
object_id.go command: Reinstate object ids in the UIHook progress logs 2018-10-16 19:14:11 -07:00
object_id_test.go Updates after running `make fmt` with Go v1.11.1 2018-10-17 14:11:08 -07:00
state.go Merge pull request #27081 from hashicorp/jbardin/staticcheck 2020-12-02 15:43:10 -05:00
state_test.go Mildwonkey/providers interface renaming (#27805) 2021-02-18 10:13:43 -05:00
trivia.go command/format: Don't try to fill the last terminal column 2021-01-13 15:37:04 -08:00