terraform/command/test-fixtures/show-json
Martin Atkins 7e186f72d9 command: Update "terraform show -json" tests for changed provider contract
We now require a provider to populate all of its defaults -- including
unknown value placeholders -- during PlanResourceChange. That means the
mock provider for testing "terraform show -json" must now manage the
population of the computed "id" attribute during plan.

To make this logic a little easier, we also change the ApplyResourceChange
implementation to fill in a non-null id, since that makes it easier for
the mock PlanResourceChange to recognize when it needs to populate that
default value during an update.
2019-02-08 11:58:21 -08:00
..
basic-create command/jsonplan: sort resources by address (#20113) 2019-01-25 09:17:40 -08:00
basic-delete command: Update "terraform show -json" tests for changed provider contract 2019-02-08 11:58:21 -08:00
basic-update command: Update "terraform show -json" tests for changed provider contract 2019-02-08 11:58:21 -08:00