terraform/states/statefile/testdata/roundtrip
Kristin Laemmert 58bcc2e9bb
addrs: detect builtin provider when parsing legacy provider string (#25154)
* addrs: detect builtin provider when parsing legacy provider string

The ParseLegacyAbsProviderConfig was not detecting builtin providers
("terraform"), which caused issues for all users with 0.12 state and
the "terraform_remote_state" data source. Since "terraform" is the only
built-in provider this adds a very simple check to the parser so it
properly returns the builtin FQN.

* add tests to the addrs package
2020-06-08 08:27:36 -04:00
..
v1-simple.in.tfstate statefile: New package for loading and saving state files 2018-10-16 18:49:20 -07:00
v1-simple.out.tfstate addrs: embed Provider in AbsProviderConfig instead of Type 2020-02-13 15:32:58 -05:00
v3-bigint.in.tfstate states/statefile: decode backend hash as uint64 2019-05-28 23:59:36 +09:00
v3-bigint.out.tfstate states/version3 upgrade: revert provider FQN changes (#24504) 2020-04-06 09:24:23 -07:00
v3-grabbag.in.tfstate states: object Private data is []byte, not cty.Value 2018-10-16 19:11:09 -07:00
v3-grabbag.out.tfstate states/version3 upgrade: revert provider FQN changes (#24504) 2020-04-06 09:24:23 -07:00
v3-invalid-depends.in.tfstate states/statefile: tolerate and ignore invalid depends_on in version 3 2019-11-21 09:18:49 -08:00
v3-invalid-depends.out.tfstate states/version3 upgrade: revert provider FQN changes (#24504) 2020-04-06 09:24:23 -07:00
v3-simple.in.tfstate states/statefile: upgrade legacy dependency syntax (#21159) 2019-04-30 14:34:01 -04:00
v3-simple.out.tfstate states/version3 upgrade: revert provider FQN changes (#24504) 2020-04-06 09:24:23 -07:00
v4-cbd.in.tfstate remove unused depends_on field and add test 2020-05-14 15:46:08 -04:00
v4-cbd.out.tfstate remove unused depends_on field and add test 2020-05-14 15:46:08 -04:00
v4-foreach.in.tfstate addrs: embed Provider in AbsProviderConfig instead of Type 2020-02-13 15:32:58 -05:00
v4-foreach.out.tfstate read+write the new dependencies in the statefile 2019-11-07 17:49:03 -05:00
v4-legacy-foreach.in.tfstate addrs: embed Provider in AbsProviderConfig instead of Type 2020-02-13 15:32:58 -05:00
v4-legacy-foreach.out.tfstate addrs: embed Provider in AbsProviderConfig instead of Type 2020-02-13 15:32:58 -05:00
v4-legacy-modules.in.tfstate addrs: embed Provider in AbsProviderConfig instead of Type 2020-02-13 15:32:58 -05:00
v4-legacy-modules.out.tfstate addrs: embed Provider in AbsProviderConfig instead of Type 2020-02-13 15:32:58 -05:00
v4-legacy-simple.in.tfstate addrs: detect builtin provider when parsing legacy provider string (#25154) 2020-06-08 08:27:36 -04:00
v4-legacy-simple.out.tfstate addrs: detect builtin provider when parsing legacy provider string (#25154) 2020-06-08 08:27:36 -04:00
v4-modules.in.tfstate addrs: embed Provider in AbsProviderConfig instead of Type 2020-02-13 15:32:58 -05:00
v4-modules.out.tfstate read+write the new dependencies in the statefile 2019-11-07 17:49:03 -05:00
v4-simple.in.tfstate states/version3 upgrade: revert provider FQN changes (#24504) 2020-04-06 09:24:23 -07:00
v4-simple.out.tfstate statefile: New package for loading and saving state files 2018-10-16 18:49:20 -07:00