terraform/addrs
Martin Atkins a3403f2766 terraform: Ugly huge change to weave in new State and Plan types
Due to how often the state and plan types are referenced throughout
Terraform, there isn't a great way to switch them out gradually. As a
consequence, this huge commit gets us from the old world to a _compilable_
new world, but still has a large number of known test failures due to
key functionality being stubbed out.

The stubs here are for anything that interacts with providers, since we
now need to do the follow-up work to similarly replace the old
terraform.ResourceProvider interface with its replacement in the new
"providers" package. That work, along with work to fix the remaining
failing tests, will follow in subsequent commits.

The aim here was to replace all references to terraform.State and its
downstream types with states.State, terraform.Plan with plans.Plan,
state.State with statemgr.State, and switch to the new implementations of
the state and plan file formats. However, due to the number of times those
types are used, this also ended up affecting numerous other parts of core
such as terraform.Hook, the backend.Backend interface, and most of the CLI
commands.

Just as with 5861dbf3fc49b19587a31816eb06f511ab861bb4 before, I apologize
in advance to the person who inevitably just found this huge commit while
spelunking through the commit history.
2018-10-16 19:11:09 -07:00
..
count_attr.go addrs: All Referenceable implementations support String() 2018-10-16 18:44:26 -07:00
doc.go addrs: new package for representing addresses 2018-10-16 18:44:26 -07:00
input_variable.go addrs: flesh out functionality ready to replace terraform.ResourceAddress 2018-10-16 18:44:26 -07:00
instance_key.go addrs: "Less" comparison method for resource and module instances 2018-10-16 18:49:20 -07:00
local_value.go addrs: flesh out functionality ready to replace terraform.ResourceAddress 2018-10-16 18:44:26 -07:00
module.go addrs: Module.Call method 2018-10-16 18:46:46 -07:00
module_call.go addrs: Helper methods for converting module calls to absolute modules 2018-10-16 18:46:46 -07:00
module_instance.go addrs: More string parsing helpers for addresses 2018-10-16 18:49:20 -07:00
output_value.go addrs: flesh out functionality ready to replace terraform.ResourceAddress 2018-10-16 18:44:26 -07:00
parse_ref.go addrs: Don't return zero-length slice in Reference.Remaining. 2018-10-16 18:48:28 -07:00
parse_ref_test.go terraform: Ugly huge change to weave in new State and Plan types 2018-10-16 19:11:09 -07:00
parse_target.go addrs: helper wrappers for parsing addresses in strings 2018-10-16 18:48:28 -07:00
parse_target_test.go addrs: flesh out functionality ready to replace terraform.ResourceAddress 2018-10-16 18:44:26 -07:00
path_attr.go addrs: All Referenceable implementations support String() 2018-10-16 18:44:26 -07:00
provider_config.go addrs: More string parsing helpers for addresses 2018-10-16 18:49:20 -07:00
provider_config_test.go addrs: flesh out functionality ready to replace terraform.ResourceAddress 2018-10-16 18:44:26 -07:00
referenceable.go addrs: All Referenceable implementations support String() 2018-10-16 18:44:26 -07:00
resource.go addrs: "Less" comparison method for resource and module instances 2018-10-16 18:49:20 -07:00
resource_phase.go core: Produce correct references for destroy nodes 2018-10-16 18:49:20 -07:00
resourcemode_string.go addrs: new package for representing addresses 2018-10-16 18:44:26 -07:00
self.go addrs: All Referenceable implementations support String() 2018-10-16 18:44:26 -07:00
targetable.go addrs: flesh out functionality ready to replace terraform.ResourceAddress 2018-10-16 18:44:26 -07:00
terraform_attr.go addrs: All Referenceable implementations support String() 2018-10-16 18:44:26 -07:00