terraform/states
Martin Atkins 7cf782c1bf states/statefile: Better error messages for some unsupported v3 cases
There are a few situations that we've seen arise quite commonly for folks
upgrading from Terraform 0.11 to 0.12. These particular problems are not
things that Terraform 0.12 can fix automatically during upgrading, but
we can at least give some better feedback to users that they ought to be
addressed _before_ upgrading.

The provider address problem is already detected and flagged by the
"terraform 0.11checklist" command that folks should run as part of their
upgrade process, but the module address problem is not something we
noticed was lacking validation in 0.11 and so the checklist tool doesn't
cover it. Due to the lack of coverage in the checklist tool, this commit
also includes an additional section in the upgrade guide that mentions
the problem and gives instructions on how to address it.
2019-11-21 09:18:49 -08:00
..
statefile states/statefile: Better error messages for some unsupported v3 cases 2019-11-21 09:18:49 -08:00
statemgr states/statemgr: Properly return error when Unlock detects invalid lock id 2019-11-11 15:24:53 -08:00
doc.go states: New package with modern models for Terraform state 2018-10-16 18:49:20 -07:00
eachmode_string.go stringer: Regenerate files with latest version 2019-05-13 15:34:27 +01:00
instance_generation.go states: New package with modern models for Terraform state 2018-10-16 18:49:20 -07:00
instance_object.go change state dependencies to AbsResource addrs 2019-10-30 17:25:53 -04:00
instance_object_src.go read+write the new dependencies in the statefile 2019-11-07 17:49:03 -05:00
module.go command: Un-stub and reimplement "terraform state rm" 2018-10-16 19:14:11 -07:00
objectstatus_string.go stringer: Regenerate files with latest version 2019-05-13 15:34:27 +01:00
output_value.go states: New package with modern models for Terraform state 2018-10-16 18:49:20 -07:00
resource.go Version tools per Go convention under tools.go 2019-10-17 22:23:39 +02:00
resource_test.go states: Fix TestResourceInstanceDeposeCurrentObject 2018-10-16 19:14:11 -07:00
state.go command: Allow tests to run to completion without panics or hangs 2018-10-16 19:14:11 -07:00
state_deepcopy.go read+write the new dependencies in the statefile 2019-11-07 17:49:03 -05:00
state_equal.go states: New package with modern models for Terraform state 2018-10-16 18:49:20 -07:00
state_string.go move hcl2shim package to configs 2019-08-06 19:58:58 -04:00
state_test.go change state dependencies to AbsResource addrs 2019-10-30 17:25:53 -04:00
sync.go Reordering, comment update 2019-08-13 17:22:14 -04:00