terraform/command/testdata
Kristin Laemmert 80862f3436
command/import: attach references before validating provider (#22862)
There was an order-of-operations bug where the import graph builder was
validating that the provider did not have any resource references before
references were actually being attached. This PR fixes the order of
operations and adds a test (in the command package).

Fixes #22804
2020-02-12 14:00:08 -05:00
..
apply Standardise directory name for test data 2019-06-30 10:16:15 +02:00
apply-config-invalid Standardise directory name for test data 2019-06-30 10:16:15 +02:00
apply-destroy-targeted Standardise directory name for test data 2019-06-30 10:16:15 +02:00
apply-error Standardise directory name for test data 2019-06-30 10:16:15 +02:00
apply-input Standardise directory name for test data 2019-06-30 10:16:15 +02:00
apply-input-partial Standardise directory name for test data 2019-06-30 10:16:15 +02:00
apply-plan-no-module Standardise directory name for test data 2019-06-30 10:16:15 +02:00
apply-sensitive-output Standardise directory name for test data 2019-06-30 10:16:15 +02:00
apply-shutdown Standardise directory name for test data 2019-06-30 10:16:15 +02:00
apply-terraform-env Standardise directory name for test data 2019-06-30 10:16:15 +02:00
apply-vars Standardise directory name for test data 2019-06-30 10:16:15 +02:00
backend-change Standardise directory name for test data 2019-06-30 10:16:15 +02:00
backend-change-multi-default-to-single Standardise directory name for test data 2019-06-30 10:16:15 +02:00
backend-change-multi-to-multi Standardise directory name for test data 2019-06-30 10:16:15 +02:00
backend-change-multi-to-no-default-with-default Standardise directory name for test data 2019-06-30 10:16:15 +02:00
backend-change-multi-to-no-default-without-default Standardise directory name for test data 2019-06-30 10:16:15 +02:00
backend-change-multi-to-single Standardise directory name for test data 2019-06-30 10:16:15 +02:00
backend-change-single-to-single Standardise directory name for test data 2019-06-30 10:16:15 +02:00
backend-changed-with-legacy Standardise directory name for test data 2019-06-30 10:16:15 +02:00
backend-from-state command: use backend config from state when backend=false is used. (#23802) 2020-01-07 15:07:06 -05:00
backend-inmem-locked Standardise directory name for test data 2019-06-30 10:16:15 +02:00
backend-new Standardise directory name for test data 2019-06-30 10:16:15 +02:00
backend-new-interp Standardise directory name for test data 2019-06-30 10:16:15 +02:00
backend-new-legacy Standardise directory name for test data 2019-06-30 10:16:15 +02:00
backend-new-migrate Standardise directory name for test data 2019-06-30 10:16:15 +02:00
backend-new-migrate-existing Standardise directory name for test data 2019-06-30 10:16:15 +02:00
backend-plan-backend-empty Standardise directory name for test data 2019-06-30 10:16:15 +02:00
backend-plan-backend-empty-config Standardise directory name for test data 2019-06-30 10:16:15 +02:00
backend-plan-backend-match Standardise directory name for test data 2019-06-30 10:16:15 +02:00
backend-plan-backend-mismatch Standardise directory name for test data 2019-06-30 10:16:15 +02:00
backend-plan-legacy Standardise directory name for test data 2019-06-30 10:16:15 +02:00
backend-plan-legacy-data Standardise directory name for test data 2019-06-30 10:16:15 +02:00
backend-plan-local Standardise directory name for test data 2019-06-30 10:16:15 +02:00
backend-plan-local-match Standardise directory name for test data 2019-06-30 10:16:15 +02:00
backend-plan-local-mismatch-lineage Standardise directory name for test data 2019-06-30 10:16:15 +02:00
backend-plan-local-newer Standardise directory name for test data 2019-06-30 10:16:15 +02:00
backend-unchanged Standardise directory name for test data 2019-06-30 10:16:15 +02:00
backend-unchanged-with-legacy Standardise directory name for test data 2019-06-30 10:16:15 +02:00
backend-unset Standardise directory name for test data 2019-06-30 10:16:15 +02:00
backend-unset-with-legacy Standardise directory name for test data 2019-06-30 10:16:15 +02:00
empty Standardise directory name for test data 2019-06-30 10:16:15 +02:00
get Standardise directory name for test data 2019-06-30 10:16:15 +02:00
graph Standardise directory name for test data 2019-06-30 10:16:15 +02:00
import-missing-resource-config Standardise directory name for test data 2019-06-30 10:16:15 +02:00
import-provider Standardise directory name for test data 2019-06-30 10:16:15 +02:00
import-provider-aliased Standardise directory name for test data 2019-06-30 10:16:15 +02:00
import-provider-datasource command/import: attach references before validating provider (#22862) 2020-02-12 14:00:08 -05:00
import-provider-implicit Standardise directory name for test data 2019-06-30 10:16:15 +02:00
import-provider-mismatch command/import: fix error during import when implied provider was not used (#22855) 2019-09-20 10:02:42 -04:00
import-provider-remote-state Standardise directory name for test data 2019-06-30 10:16:15 +02:00
import-provider-var Standardise directory name for test data 2019-06-30 10:16:15 +02:00
import-provider-var-default Standardise directory name for test data 2019-06-30 10:16:15 +02:00
import-provider-var-file Standardise directory name for test data 2019-06-30 10:16:15 +02:00
init Standardise directory name for test data 2019-06-30 10:16:15 +02:00
init-012upgrade Standardise directory name for test data 2019-06-30 10:16:15 +02:00
init-backend Standardise directory name for test data 2019-06-30 10:16:15 +02:00
init-backend-config-file Standardise directory name for test data 2019-06-30 10:16:15 +02:00
init-backend-config-file-change Standardise directory name for test data 2019-06-30 10:16:15 +02:00
init-backend-config-kv Standardise directory name for test data 2019-06-30 10:16:15 +02:00
init-backend-empty Standardise directory name for test data 2019-06-30 10:16:15 +02:00
init-check-required-version Standardise directory name for test data 2019-06-30 10:16:15 +02:00
init-get Standardise directory name for test data 2019-06-30 10:16:15 +02:00
init-get-providers Standardise directory name for test data 2019-06-30 10:16:15 +02:00
init-internal Standardise directory name for test data 2019-06-30 10:16:15 +02:00
init-legacy-rc Standardise directory name for test data 2019-06-30 10:16:15 +02:00
init-provider-lock-file Standardise directory name for test data 2019-06-30 10:16:15 +02:00
init-providers-lock Standardise directory name for test data 2019-06-30 10:16:15 +02:00
init-required-providers Mildwonkey/tfconfig upgrade (#23670) 2020-01-10 11:54:53 -05:00
init-sniff-version-error Standardise directory name for test data 2019-06-30 10:16:15 +02:00
inmem-backend Standardise directory name for test data 2019-06-30 10:16:15 +02:00
login-oauth-server command: Tests for the "terraform login" command 2019-09-09 11:15:24 -07:00
login-tfe-server Add token validation for manual terraform login 2020-02-04 17:24:25 -05:00
parallelism Standardise directory name for test data 2019-06-30 10:16:15 +02:00
plan Standardise directory name for test data 2019-06-30 10:16:15 +02:00
plan-emptydiff Standardise directory name for test data 2019-06-30 10:16:15 +02:00
plan-invalid Standardise directory name for test data 2019-06-30 10:16:15 +02:00
plan-out-backend Standardise directory name for test data 2019-06-30 10:16:15 +02:00
plan-out-backend-legacy Standardise directory name for test data 2019-06-30 10:16:15 +02:00
plan-vars Standardise directory name for test data 2019-06-30 10:16:15 +02:00
providers Standardise directory name for test data 2019-06-30 10:16:15 +02:00
providers-schema Standardise directory name for test data 2019-06-30 10:16:15 +02:00
push Standardise directory name for test data 2019-06-30 10:16:15 +02:00
push-backend-new Standardise directory name for test data 2019-06-30 10:16:15 +02:00
push-input Standardise directory name for test data 2019-06-30 10:16:15 +02:00
push-input-partial Standardise directory name for test data 2019-06-30 10:16:15 +02:00
push-no-remote Standardise directory name for test data 2019-06-30 10:16:15 +02:00
push-no-upload Standardise directory name for test data 2019-06-30 10:16:15 +02:00
push-tfvars Standardise directory name for test data 2019-06-30 10:16:15 +02:00
refresh Standardise directory name for test data 2019-06-30 10:16:15 +02:00
refresh-empty Standardise directory name for test data 2019-06-30 10:16:15 +02:00
refresh-output Standardise directory name for test data 2019-06-30 10:16:15 +02:00
refresh-unset-var Standardise directory name for test data 2019-06-30 10:16:15 +02:00
refresh-var Standardise directory name for test data 2019-06-30 10:16:15 +02:00
show Standardise directory name for test data 2019-06-30 10:16:15 +02:00
show-json command/jsonplan: fix bug with nested modules output (#23092) 2019-10-17 11:33:04 -04:00
show-json-state/empty Standardise directory name for test data 2019-06-30 10:16:15 +02:00
state-list-backend-custom Standardise directory name for test data 2019-06-30 10:16:15 +02:00
state-list-backend-default Standardise directory name for test data 2019-06-30 10:16:15 +02:00
state-pull-backend Standardise directory name for test data 2019-06-30 10:16:15 +02:00
state-push-bad-lineage Standardise directory name for test data 2019-06-30 10:16:15 +02:00
state-push-good Standardise directory name for test data 2019-06-30 10:16:15 +02:00
state-push-replace-match Standardise directory name for test data 2019-06-30 10:16:15 +02:00
state-push-serial-newer Standardise directory name for test data 2019-06-30 10:16:15 +02:00
state-push-serial-older Standardise directory name for test data 2019-06-30 10:16:15 +02:00
validate-invalid Standardise directory name for test data 2019-06-30 10:16:15 +02:00
validate-valid Standardise directory name for test data 2019-06-30 10:16:15 +02:00
empty-file Standardise directory name for test data 2019-06-30 10:16:15 +02:00
statelocker.go Have backend operations properly unlock state 2017-02-15 14:41:55 -05:00