terraform/backend/local
Martin Atkins 8664749b59 backend: Allow certain commands to opt out of required variable checks
Terraform Core expects all variables to be set, but for some ancillary
commands it's fine for them to just be set to placeholders because the
variable values themselves are not key to the command's functionality
as long as the terraform.Context is still self-consistent.

For such commands, rather than prompting for interactive input for
required variables we'll just stub them out as unknowns to reflect that
they are placeholders for values that a user would normally need to
provide.

This achieves a similar effect to how these commands behaved before, but
without the tendency to produce a slightly invalid terraform.Context that
would fail in strange ways when asked to run certain operations.
2019-10-10 10:07:01 -07:00
..
testdata Standardise directory name for test data 2019-06-30 10:16:15 +02:00
backend.go fix misspelling 2019-03-05 16:12:52 +03:00
backend_apply.go core: Warn when creating and applying with -target 2019-09-17 14:36:05 -07:00
backend_apply_test.go Standardise directory name for test data 2019-06-30 10:16:15 +02:00
backend_local.go backend: Allow certain commands to opt out of required variable checks 2019-10-10 10:07:01 -07:00
backend_plan.go backend/local: don't panic when an instance has only a deposed object 2019-06-04 09:23:29 -07:00
backend_plan_test.go Standardise directory name for test data 2019-06-30 10:16:15 +02: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 Standardise directory name for test data 2019-06-30 10:16:15 +02: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 stringer: Regenerate files with latest version 2019-05-13 15:34:27 +01: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 backend/local 2017-01-26 14:33:49 -08:00
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 backend/local 2017-01-26 14:33:49 -08:00
testing.go backend/local: Fix mock provider in tests 2019-02-08 12:48:32 -08:00