terraform/command/test-fixtures
Martin Atkins 76dca009e0 Allow escaped interpolation-like sequences in variable defaults
The variable validator assumes that any AST node it gets from an
interpolation walk is an indicator of an interpolation. Unfortunately,
back in f223be15 we changed the interpolation walker to emit a LiteralNode
as a way to signal that the result is a literal but not identical to the
input due to escapes.

The existence of this issue suggests a bit of a design smell in that the
interpolation walker interface at first glance appears to skip over all
literals, but it actually emits them in this one situation. In the long
run we should perhaps think about whether the abstraction is right here,
but this is a shallow, tactical change that fixes #13001.
2017-03-29 09:25:57 -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-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-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-backend-config-kv command/init: add test for -backend-config k/v 2017-03-17 10:22:48 -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-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 Added verify command 2016-02-08 12:48:14 +01:00
validate-valid Allow escaped interpolation-like sequences in variable defaults 2017-03-29 09:25:57 -07:00