terraform/config
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
..
module config/module: don't panic when referencing undefined module 2017-03-16 20:14:20 -07:00
test-fixtures Allow escaped interpolation-like sequences in variable defaults 2017-03-29 09:25:57 -07:00
append.go merge config.Terraform fields in config.Append 2017-03-21 15:43:55 -04:00
append_test.go add terraform config merge logic to config.Merge 2017-03-22 09:01:54 -04:00
config.go Allow escaped interpolation-like sequences in variable defaults 2017-03-29 09:25:57 -07:00
config_string.go config: add "backend" loading to the Terraform section 2017-01-26 14:33:49 -08:00
config_terraform.go merge config.Terraform fields in config.Append 2017-03-21 15:43:55 -04:00
config_terraform_test.go config: add "backend" loading to the Terraform section 2017-01-26 14:33:49 -08:00
config_test.go Allow escaped interpolation-like sequences in variable defaults 2017-03-29 09:25:57 -07:00
config_tree.go config: make Merge an exported func 2014-07-18 17:05:22 -07:00
import_tree.go Condense switch fallthroughs into expr lists 2015-05-26 21:52:36 -04:00
interpolate.go config: parse TerraformVariables 2017-03-13 16:09:06 -07:00
interpolate_funcs.go Add `basename` and `dirname` functions 2017-03-28 09:29:26 -07:00
interpolate_funcs_test.go Add `basename` and `dirname` functions 2017-03-28 09:29:26 -07:00
interpolate_test.go config: parse TerraformVariables 2017-03-13 16:09:06 -07:00
interpolate_walk.go Fix panic in interpolate_walk 2017-03-07 15:35:40 -05:00
interpolate_walk_test.go config: use ast.TypeUnknown and don't remove computed values 2016-11-09 14:28:15 -08:00
lang.go remove config/lang, use hashicorp/hil 2016-02-03 13:24:04 -05:00
loader.go command/import: load configurations and allow empty config dirs 2016-11-09 15:08:22 -08:00
loader_hcl.go restructure JSON terraform config block AST 2017-03-21 18:15:58 -04:00
loader_hcl_test.go config: HCL loader 2014-08-11 09:58:53 -07:00
loader_test.go restructure JSON terraform config block AST 2017-03-21 18:15:58 -04:00
merge.go add terraform config merge logic to config.Merge 2017-03-22 09:01:54 -04:00
merge_test.go add terraform config merge logic to config.Merge 2017-03-22 09:01:54 -04:00
provisioner_enums.go config: parse "when" and "on_failure" on provisioners 2017-01-19 18:10:21 -08:00
raw_config.go config: Merge respects Terraform blocks, provider aliases, and more 2016-12-13 21:48:59 -08:00
raw_config_test.go config: validate that RawConfig.Copy doesn't copy the interpolated 2016-12-02 13:25:32 -05:00
resource_mode.go config: "ResourceMode" concept for resources 2016-05-14 08:26:35 -07:00
resource_mode_string.go Update stringer-generated files to new boilerplate 2017-03-29 08:07:06 -07:00
testing.go terraform: rename attach config to only attach provider config 2016-10-19 13:38:51 -07:00