opentofu/plans
Martin Atkins 51aeba2cf2 plans: Record provider config address in each resource change
This allows us to record the resource-to-provider associations we made
during the plan phase and ensure that we use the same config during
apply.

This isn't technically necessary, since we can in principle just repeat
the same matching algorithm against the config, but that algorithm is
relatively complicated and so if we execute it just once during plan we
remove the risk of bugs causing different decisions to be made during
the apply phase.

This also includes updates to the plan file format to include the provider
addresses. Since we've not actually shipped any version of Terraform
using our protobuf schema yet, we renumber here all of the fields after
the new one to keep them incrementing consecutively. This example should
not be followed after we have a released version of Terraform using this,
as a courtesy to anyone trying to parse these files (even though we're
not yet guaranteeing compatibility between releases).
2018-10-16 18:50:29 -07:00
..
internal/planproto plans: Record provider config address in each resource change 2018-10-16 18:50:29 -07:00
planfile plans: Record provider config address in each resource change 2018-10-16 18:50:29 -07:00
action_string.go plans: New package for in-memory plan models 2018-10-16 18:50:29 -07:00
action.go plans: New package for in-memory plan models 2018-10-16 18:50:29 -07:00
changes_state.go plans: New package for in-memory plan models 2018-10-16 18:50:29 -07:00
changes.go plans: Record provider config address in each resource change 2018-10-16 18:50:29 -07:00
doc.go plans: New package for in-memory plan models 2018-10-16 18:50:29 -07:00
dynamic_value_test.go plans: New package for in-memory plan models 2018-10-16 18:50:29 -07:00
dynamic_value.go plans: New package for in-memory plan models 2018-10-16 18:50:29 -07:00
plan.go plans: New package for in-memory plan models 2018-10-16 18:50:29 -07:00