terraform/config/test-fixtures
Paul Hinze ffa29090ec
core: Better error for dot indexing on user vars
Dot indexing worked in the "regexps and strings" world of 0.6.x, but it
no longer works on the 0.7 series w/ proper List / Map types.

There is plenty of dot-indexed config out in the wild, so we need to do
what we can to point users to the new syntax.

Here is one place we can do it for user variables (`var.somemap`). We'll
also need to address Resource Variables and Module Variables in a
separate PR.

This fixes the panic in #7103 - a proper error message is now returned.
2016-06-12 10:45:48 -05:00
..
copy-basic core: Make copies when creating destroy nodes 2016-02-09 09:25:16 -06:00
count-int
count-string
count-var
dir-basic config: Data source loading 2016-05-14 08:26:35 -07:00
dir-empty
dir-merge
dir-override config: Data source loading 2016-05-14 08:26:35 -07:00
dir-temporary-files Ignore hidden files per Unix conventions 2015-03-18 07:50:33 +00:00
empty-collections core: Fix detection of empty list/map defaults 2016-06-12 11:19:03 +02:00
import
interpolations
validate-bad-depends-on
validate-bad-multi-resource
validate-count-bad-context core: protect against count.index in modules 2015-04-15 10:41:56 -05:00
validate-count-below-zero
validate-count-count-var
validate-count-int
validate-count-module-var
validate-count-not-int
validate-count-resource-var
validate-count-user-var
validate-count-var
validate-count-var-invalid
validate-count-zero
validate-depends-on-var config: depends on cannot contain interpolations [GH-985] 2015-02-20 09:07:41 -08:00
validate-dup-module
validate-dup-resource
validate-good core: Better error for dot indexing on user vars 2016-06-12 10:45:48 -05:00
validate-module-name-bad
validate-module-source-var
validate-module-var-int
validate-module-var-list core: support native list variables in config 2016-05-10 14:49:14 -04:00
validate-module-var-map core: support native list variables in config 2016-05-10 14:49:14 -04:00
validate-module-var-self config: error in validation if module has self variable 2015-04-22 10:39:07 +02:00
validate-output-bad-field
validate-path-var
validate-path-var-invalid
validate-prov-conn-splat-other config: test we can ref splat of other resources 2015-02-20 09:19:13 -08:00
validate-prov-conn-splat-self config: validate configuration doens't contain splats to ourselves 2015-02-20 09:18:08 -08:00
validate-prov-splat-other config: validate provisioner splats can only reference others 2015-02-20 09:21:29 -08:00
validate-prov-splat-self config: validate provisioner splats can only reference others 2015-02-20 09:21:29 -08:00
validate-provider-multi config: validate that a multi provider is only configured once each 2015-04-20 14:25:33 -07:00
validate-provider-multi-good config: happy case test for multiple providers 2015-04-20 14:27:44 -07:00
validate-provider-multi-ref-bad config: test that resources reference good providers 2015-04-20 14:47:31 -07:00
validate-provider-multi-ref-good config: test that resources reference good providers 2015-04-20 14:47:31 -07:00
validate-resource-prov-self config: self var validation 2015-02-23 14:43:14 -08:00
validate-resource-self config: self var validation 2015-02-23 14:43:14 -08:00
validate-unknown-resource-var
validate-unknown-resource-var-output
validate-unknownthing
validate-unknownvar
validate-unknownvar-count
validate-var-default
validate-var-default-interpolate
validate-var-default-list-type core: support native list variables in config 2016-05-10 14:49:14 -04:00
validate-var-module
validate-var-module-invalid
validate-var-multi-exact-non-slice
validate-var-multi-func
validate-var-multi-non-slice
validate-var-multi-non-slice-provisioner config: bare splat variables should not be allowed in provisioners 2015-02-17 13:32:45 -08:00
.gitattributes Add regression test for #4069 2015-12-01 13:37:18 -05:00
attributes.tf Add failing tests for JSON configuration parsing 2015-11-19 16:06:30 +02:00
attributes.tf.json Add failing tests for JSON configuration parsing 2015-11-19 16:06:30 +02:00
bad-variable-type.tf core: Support explicit variable type declaration 2016-01-24 11:40:02 -06:00
bad_type.tf.nope
basic.tf config: Data source loading 2016-05-14 08:26:35 -07:00
basic.tf.json config: Data source loading 2016-05-14 08:26:35 -07:00
connection.tf
create-before-destroy.tf
data-source-arity-mistake.tf config: Data source loading 2016-05-14 08:26:35 -07:00
empty.tf
escapedquotes.tf config: test covering escaped quotes syntax error 2015-11-19 12:11:42 -06:00
heredoc.tf config: test replicating #4079 2015-12-01 10:31:05 -06:00
ignore-changes.tf Adding ignore_changes lifecycle meta property 2015-10-14 16:34:27 -05:00
import.tf
lifecycle_cbd_typo.tf config: validate lifecycle keys [GH-4413] 2016-01-19 11:28:45 -08:00
modules.tf
prevent-destroy-string.tf config: parse lifecycle block with mapstructure for weak decode 2015-06-07 22:04:23 -07:00
provisioners.tf
resource-arity-mistake.tf config: friendlier error message on resource arity mismatch 2015-12-09 18:05:49 -06:00
variable-mismatched-type.tf core: Support explicit variable type declaration 2016-01-24 11:40:02 -06:00
variables.tf
windows-line-endings.tf Add regression test for #4069 2015-12-01 13:37:18 -05:00