terraform/command/testdata/show-json
Kristin Laemmert 47a16b0937
addrs: embed Provider in AbsProviderConfig instead of Type
a large refactor to addrs.AbsProviderConfig, embedding the addrs.Provider instead of a Type string. I've added and updated tests, added some Legacy functions to support older state formats and shims, and added a normalization step when reading v4 (current) state files (not the added tests under states/statefile/roundtrip which work with both current and legacy-style AbsProviderConfig strings).

The remaining 'fixme' and 'todo' comments are mostly going to be addressed in a subsequent PR and involve looking up a given local provider config's FQN. This is fine for now as we are only working with default assumption.
2020-02-13 15:32:58 -05:00
..
basic-create Standardise directory name for test data 2019-06-30 10:16:15 +02:00
basic-delete addrs: embed Provider in AbsProviderConfig instead of Type 2020-02-13 15:32:58 -05:00
basic-update addrs: embed Provider in AbsProviderConfig instead of Type 2020-02-13 15:32:58 -05:00
modules Standardise directory name for test data 2019-06-30 10:16:15 +02:00
nested-module-error fix show-json test to expect error from nested mod 2019-07-16 21:30:04 -04:00
nested-modules command/jsonplan: fix bug with nested modules output (#23092) 2019-10-17 11:33:04 -04:00