terraform/command/test-fixtures
James Bardin e3748901b4 Don't ForceLocal for the import backend
While the `local.Local` backend is the only implementation of
`backend.Local`, creating the backend with `ForceLocal` bypasses the
`backend.Backend` in the `local.Local` causing a local state to be
implicitly created rather than using the configured state backend.

Add a test that imports into a configured backend (using the "local"
backend as a remote state proxy). This further confirms the confusing
nature of ForceLocal, as the backend _is_ local, but not from the
viewpoint of meta.Backend.
2017-08-09 10:24:32 -04:00
..
apply dos2unix 2014-07-28 10:43:00 -07:00
apply-config-invalid dos2unix 2014-07-28 10:43:00 -07:00
apply-destroy-targeted core: targeted operations 2015-03-31 14:49:38 -05:00
apply-error dos2unix 2014-07-28 10:43:00 -07:00
apply-input command/apply: ask for user variables before validation [GH-736] 2015-01-16 10:46:38 -08:00
apply-input-partial command/meta: always ask for unset variable input 2016-11-01 19:16:43 -07:00
apply-plan-no-module Add test to verify that Validation isn't called 2017-03-27 18:39:18 -04:00
apply-sensitive-output core: Add support for marking outputs as sensitive (#6559) 2016-05-09 15:46:07 -04:00
apply-shutdown dos2unix 2014-07-28 10:43:00 -07:00
apply-terraform-env command: test that terraform meta information is passed through 2017-03-13 16:31:35 -07:00
apply-vars dos2unix 2014-07-28 10:43:00 -07:00
backend-change command: convert to use backends 2017-01-26 14:33:49 -08:00
backend-change-multi-default-to-single command: test multi-state with default only to single state 2017-03-01 11:08:39 -08:00
backend-change-multi-to-multi command: multistate to multistate conversions 2017-03-01 12:35:59 -08:00
backend-change-multi-to-single change to default state after backend migration 2017-03-16 15:55:32 -04:00
backend-change-single-to-single command: initial work on migrating envs, basic cases first 2017-03-01 10:59:17 -08:00
backend-changed-with-legacy command: convert to use backends 2017-01-26 14:33:49 -08:00
backend-inmem-locked Add complete unlock test 2017-02-20 14:50:31 -05:00
backend-new command: convert to use backends 2017-01-26 14:33:49 -08:00
backend-new-interp command: validate backend config 2017-03-02 14:07:49 -08:00
backend-new-legacy command: remove legacy remote state on migration 2017-03-20 10:14:59 -07:00
backend-new-migrate command: convert to use backends 2017-01-26 14:33:49 -08:00
backend-new-migrate-existing command: convert to use backends 2017-01-26 14:33:49 -08:00
backend-plan-backend-empty command: convert to use backends 2017-01-26 14:33:49 -08:00
backend-plan-backend-empty-config command: convert to use backends 2017-01-26 14:33:49 -08:00
backend-plan-backend-match command: convert to use backends 2017-01-26 14:33:49 -08:00
backend-plan-backend-mismatch command: convert to use backends 2017-01-26 14:33:49 -08:00
backend-plan-legacy command: convert to use backends 2017-01-26 14:33:49 -08:00
backend-plan-legacy-data command: convert to use backends 2017-01-26 14:33:49 -08:00
backend-plan-local command: convert to use backends 2017-01-26 14:33:49 -08:00
backend-plan-local-match command: convert to use backends 2017-01-26 14:33:49 -08:00
backend-plan-local-mismatch-lineage command: convert to use backends 2017-01-26 14:33:49 -08:00
backend-plan-local-newer command: convert to use backends 2017-01-26 14:33:49 -08:00
backend-unchanged command: convert to use backends 2017-01-26 14:33:49 -08:00
backend-unchanged-with-legacy command: convert to use backends 2017-01-26 14:33:49 -08:00
backend-unset command: convert to use backends 2017-01-26 14:33:49 -08:00
backend-unset-with-legacy command: convert to use backends 2017-01-26 14:33:49 -08:00
get tests: remove unnecessary symlink 2015-08-31 15:45:43 -05:00
graph dos2unix 2014-07-28 10:43:00 -07:00
import-missing-resource-config command: validate import resource address early 2017-06-09 14:03:59 -07:00
import-provider command: require resource to be in config before import 2017-06-09 14:03:59 -07:00
import-provider-aliased command: require resource to be in config before import 2017-06-09 14:03:59 -07:00
import-provider-implicit core: provide config to all import context tests 2017-06-09 14:03:59 -07:00
import-provider-remote-state Don't ForceLocal for the import backend 2017-08-09 10:24:32 -04:00
import-provider-var command: require resource to be in config before import 2017-06-09 14:03:59 -07:00
import-provider-var-default command: require resource to be in config before import 2017-06-09 14:03:59 -07:00
import-provider-var-file command: require resource to be in config before import 2017-06-09 14:03:59 -07:00
init command: init works at a basic level 2014-09-26 16:30:49 -07:00
init-backend command: convert to use backends 2017-01-26 14:33:49 -08:00
init-backend-config-file command: convert to use backends 2017-01-26 14:33:49 -08:00
init-backend-config-file-change command: recompute config hash with ConfigFile set 2017-03-16 11:47:59 -07:00
init-backend-config-kv command/init: add test for -backend-config k/v 2017-03-17 10:22:48 -07:00
init-backend-empty add Rehash to terraform.BackendState 2017-03-29 15:53:42 -04:00
init-get command: convert to use backends 2017-01-26 14:33:49 -08:00
init-get-providers add init getPlugin test 2017-06-09 14:03:59 -07:00
init-provider-lock-file command: produce provider lock file during "terraform init" 2017-06-09 14:03:59 -07:00
init-providers-lock command: produce provider lock file during "terraform init" 2017-06-09 14:03:59 -07:00
parallelism command: fix flaky parallelism tests 2015-10-29 15:16:34 -05:00
plan dos2unix 2014-07-28 10:43:00 -07:00
plan-emptydiff command: plan supports detailed exit code 2015-04-01 09:38:19 -07:00
plan-invalid command/meta: validate config immediately 2016-09-03 15:26:49 -07:00
plan-out-backend command: convert to use backends 2017-01-26 14:33:49 -08:00
plan-out-backend-legacy command: convert to use backends 2017-01-26 14:33:49 -08:00
plan-vars dos2unix 2014-07-28 10:43:00 -07:00
providers command: "terraform providers" command 2017-06-09 14:03:59 -07:00
push command: correct provider name in the test fixture for push 2017-06-09 14:03:59 -07:00
push-backend-new command/push: test for push with new backends 2017-03-16 10:52:58 -07:00
push-input command/push: read name from the config 2015-03-24 13:30:23 -07:00
push-input-partial command/push: read name from the config 2015-03-24 13:30:23 -07:00
push-no-remote command/push: don't allow pushing with local backend 2017-03-16 10:47:48 -07:00
push-no-upload command/push: make test more resilient 2016-08-26 13:38:02 -07:00
push-tfvars command/meta: validate config immediately 2016-09-03 15:26:49 -07:00
refresh dos2unix 2014-07-28 10:43:00 -07:00
refresh-empty backend/local: allow refresh on empty/non-existent state 2017-03-16 12:11:31 -07:00
refresh-output core: show outputs after `terraform refresh` 2015-06-15 10:41:42 -05:00
refresh-unset-var Add failing test replicating #4013 2015-11-23 10:32:46 +02:00
refresh-var dos2unix 2014-07-28 10:43:00 -07:00
state-list-backend command/state list: test against backend 2017-02-21 19:43:05 -08:00
state-push-bad-lineage command: convert to use backends 2017-01-26 14:33:49 -08:00
state-push-good command: convert to use backends 2017-01-26 14:33:49 -08:00
state-push-replace-match command: convert to use backends 2017-01-26 14:33:49 -08:00
state-push-serial-newer command: convert to use backends 2017-01-26 14:33:49 -08:00
state-push-serial-older command: convert to use backends 2017-01-26 14:33:49 -08:00
validate-invalid command/validate: Add flag to check that all variables are specified (#13872) 2017-07-05 17:32:29 +01:00
validate-valid Allow escaped interpolation-like sequences in variable defaults 2017-03-29 09:25:57 -07:00