terraform/backend/local
Martin Atkins e3618f915b backend/local: Fix mock provider in tests
We've changed the contract for PlanResourceChange to now require the
provider to populate any default values (including unknowns) it wants to
set for computed arguments, so our mock provider here now needs to be a
little more complex to deal with that.

This fixes several of the tests in this package. A minor change to
TestLocal_applyEmptyDirDestroy was required to make it properly configure
the mock provider so PlanResourceChange can access the schema.
2019-02-08 12:48:32 -08:00
..
test-fixtures backend/local: Render CBD replacement (+/-) correctly (#19642) 2018-12-14 13:45:47 +00:00
backend.go Change how to fall back from remote to local backend 2018-11-20 22:25:52 +01:00
backend_apply.go Implement the remote enhanced backend 2018-11-06 16:29:46 +01:00
backend_apply_test.go backend/local: Fix mock provider in tests 2019-02-08 12:48:32 -08:00
backend_local.go backend/local: decode variables with cty.DynamicPseudoType 2018-11-30 15:15:28 -08:00
backend_plan.go backend/local: Render CBD replacement (+/-) correctly (#19642) 2018-12-14 13:45:47 +00:00
backend_plan_test.go Move module install functionality over to internal/initwd 2019-01-14 11:33:21 -08:00
backend_refresh.go terraform: Ugly huge change to weave in new State and Plan types 2018-10-16 19:11:09 -07:00
backend_refresh_test.go Move module install functionality over to internal/initwd 2019-01-14 11:33:21 -08:00
backend_test.go Implement the remote enhanced backend 2018-11-06 16:29:46 +01:00
cli.go command: Fix TestMetaBackend_configuredChangeCopy_multiToMulti 2018-11-19 09:02:35 -08:00
counthookaction_string.go Update various files for new version of "stringer" 2017-12-11 13:26:29 -08:00
hook_count.go backend/local: Fix incorrect destroy/update count on apply 2018-12-11 18:06:53 +00:00
hook_count_action.go
hook_count_test.go backend/local: Fix incorrect destroy/update count on apply 2018-12-11 18:06:53 +00:00
hook_state.go terraform: Ugly huge change to weave in new State and Plan types 2018-10-16 19:11:09 -07:00
hook_state_test.go terraform: Ugly huge change to weave in new State and Plan types 2018-10-16 19:11:09 -07:00
local_test.go
testing.go backend/local: Fix mock provider in tests 2019-02-08 12:48:32 -08:00