terraform/command/test-fixtures
Mitchell Hashimoto 81639480fb
command: recompute config hash with ConfigFile set
Fixes #12749

If we merge in an extra partial config we need to recompute the hash to
compare with the old value to detect that change.

This hash needs to NOT be stored and just used as a temporary. We want
to keep the original hash in the state so that we don't detect a change
from the config (since the config will always be partial).
2017-03-16 11:47:59 -07: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-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 command: test multi-state to single state 2017-03-01 11:34:45 -08: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: convert to use backends 2017-01-26 14:33:49 -08: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-provider command/import: load configurations and allow empty config dirs 2016-11-09 15:08:22 -08:00
import-provider-var command/import: document -var-file and -var is available #11211 2017-01-24 13:02:54 -08:00
import-provider-var-default command/import: document -var-file and -var is available #11211 2017-01-24 13:02:54 -08:00
import-provider-var-file command/import: document -var-file and -var is available #11211 2017-01-24 13:02:54 -08: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-get command: convert to use backends 2017-01-26 14:33:49 -08: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
push command/push: read name from the config 2015-03-24 13:30:23 -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-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 Added verify command 2016-02-08 12:48:14 +01:00
validate-valid Added verify command 2016-02-08 12:48:14 +01:00