terraform/config/test-fixtures
James Bardin e0b2c64645 accessing count directly in an output should is OK
There should be no warning when accessing a resource's count value
directly in an output.
2017-12-06 18:59:53 -05:00
..
backend-hash-basic config: add "backend" loading to the Terraform section 2017-01-26 14:33:49 -08:00
backend-hash-empty config: add "backend" loading to the Terraform section 2017-01-26 14:33:49 -08:00
backend-hash-no-terraform config: add "backend" loading to the Terraform section 2017-01-26 14:33:49 -08:00
backend-hash-type-only config: add "backend" loading to the Terraform section 2017-01-26 14:33:49 -08:00
copy-basic core: Make copies when creating destroy nodes 2016-02-09 09:25:16 -06:00
count-int
count-list config: Resource.Count should type check 2017-02-10 10:41:41 -08:00
count-string
count-var
data-count Add a test load of a data source with count 2016-09-03 13:08:41 -07:00
dir-basic config: Data source loading 2016-05-14 08:26:35 -07:00
dir-empty
dir-merge
dir-only-override config: Don't panic if config directory contains only overrides 2017-10-23 15:46:15 -07:00
dir-override config: Data source loading 2016-05-14 08:26:35 -07:00
dir-override-var config: test for var uniqueness in overrides 2016-08-26 13:48:21 -07:00
dir-temporary-files
empty-collections core: Fix detection of empty list/map defaults 2016-06-12 11:19:03 +02:00
hcl2-experiment-switch config: allow HCL2 experiment opt-in (build-time flag to enable) 2017-10-03 17:47:01 -07:00
import
interpolations
module-providers add "version" and "provider" to module config 2017-10-27 09:08:15 -04:00
output-no-warnings accessing count directly in an output should is OK 2017-12-06 18:59:53 -05:00
output-warnings Add test fixture to check for warnings 2017-11-28 14:18:54 -05:00
provider-version config: add "version" argument to provider blocks, disabled 2017-06-09 14:03:59 -07:00
provider-version-invalid config: allow version constraints on providers, but validate them 2017-06-09 14:03:59 -07:00
validate-backend-interpolate config: validate backend configuration can't contain interpolations 2017-02-17 16:27:01 -08:00
validate-bad-depends-on
validate-bad-multi-resource
validate-bad-tf-version config: parse and validate terraform.required_version 2016-11-12 16:22:35 -08:00
validate-basic-provisioners config: parse "when" and "on_failure" on provisioners 2017-01-19 18:10:21 -08:00
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-not-int-const config: Validate resource "count" for HCL2-specified resources 2017-10-03 17:47:01 -07:00
validate-count-resource-var
validate-count-resource-var-multi command/meta: validate config immediately 2016-09-03 15:26:49 -07:00
validate-count-user-var
validate-count-var
validate-count-var-invalid
validate-count-var-unknown config: count can't be a SimpleVariable 2016-08-16 13:48:12 -07:00
validate-count-zero
validate-data-provisioner config: validate that data sources don't have provisioners 2016-11-23 08:46:13 -08:00
validate-depends-on-bad-module config: validate depends_on with module values 2016-11-12 08:21:27 -08:00
validate-depends-on-module config: validate depends_on with module values 2016-11-12 08:21:27 -08:00
validate-depends-on-var
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-ignore-changes Add wildcard (match all) support to ignore_changes (#8599) 2016-09-02 15:44:35 +02:00
validate-ignore-changes-bad Add wildcard (match all) support to ignore_changes (#8599) 2016-09-02 15:44:35 +02:00
validate-ignore-changes-interpolate config: ignore_changes cannot have interpolations 2016-10-24 23:06:33 -07:00
validate-local-multi-file config: merge/append for local values 2017-09-01 17:51:13 -07:00
validate-local-value-count config: allow local value interpolations in count 2017-09-01 17:54:05 -07:00
validate-missing-provider validate providers passed to a module exist 2017-11-10 11:01:32 -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-output-description core: allow outputs to have descriptions (#9722) 2016-11-18 19:09:43 +02:00
validate-output-dup config: outputs must be unique 2016-08-25 14:43:57 -07:00
validate-path-var
validate-path-var-invalid
validate-prov-conn-splat-other
validate-prov-conn-splat-self
validate-prov-splat-other
validate-prov-splat-self
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-provider-version-invalid config: fix provider version constraint validation 2017-06-09 14:03:59 -07:00
validate-resource-prov-self
validate-resource-self
validate-tf-version config: parse and validate terraform.required_version 2016-11-12 16:22:35 -08:00
validate-tf-version-interp config: parse and validate terraform.required_version 2016-11-12 16:22:35 -08:00
validate-unknown-resource-var
validate-unknown-resource-var-output
validate-unknownthing
validate-unknownvar
validate-unknownvar-count
validate-var-default config: vars must be unique 2016-08-25 14:51:49 -07:00
validate-var-default-interpolate
validate-var-default-interpolate-escaped Allow escaped interpolation-like sequences in variable defaults 2017-03-29 09:25:57 -07:00
validate-var-default-list-type core: support native list variables in config 2016-05-10 14:49:14 -04:00
validate-var-dup config: vars must be unique 2016-08-25 14:51:49 -07:00
validate-var-module
validate-var-module-invalid
validate-var-multi-exact-non-slice
validate-var-multi-func
validate-var-nested Add test for Validate crash 2017-03-07 15:01:29 -05: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-hcl2.tf config: HCL2 config loader 2017-10-03 17:47:01 -07:00
basic.tf config: parse description field for outputs 2017-08-28 09:42:03 -07:00
basic.tf.json config: parse description field for outputs 2017-08-28 09:42:03 -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
git-crypt.tf config: test that null characters show up as errors in parse 2016-11-21 18:11:11 -08: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
module-unnamed.tf config: generate errors for unnamed blocks of various sources 2017-05-02 16:29:57 -07:00
modules.tf
output-depends-on.tf config: parse depends_on for outputs 2016-11-11 17:46:34 -08:00
output-unnamed.tf config: generate errors for unnamed blocks of various sources 2017-05-02 16:29:57 -07:00
prevent-destroy-string.tf config: parse lifecycle block with mapstructure for weak decode 2015-06-07 22:04:23 -07:00
provisioners-destroy.tf config: parse "when" and "on_failure" on provisioners 2017-01-19 18:10:21 -08:00
provisioners.tf
resource-arity-mistake.tf config: friendlier error message on resource arity mismatch 2015-12-09 18:05:49 -06:00
resource-multi-lifecycle.tf config: error when loading multiple lifecycle blocks 2016-12-10 18:52:13 -05:00
resource-no-name.tf.json config: JSON resource keys with only one item load properly GH-5140 2016-08-25 17:18:18 -07:00
terraform-backend-2.tf.json restructure JSON terraform config block AST 2017-03-21 18:15:58 -04:00
terraform-backend-multi.tf config: add "backend" loading to the Terraform section 2017-01-26 14:33:49 -08:00
terraform-backend.tf config: add "backend" loading to the Terraform section 2017-01-26 14:33:49 -08:00
terraform-backend.tf.json config: test that JSON loading terraform backend info works 2017-03-16 14:51:26 -07:00
var-invalid-key.tf config: validate invalid variable keys 2016-12-10 19:27:01 -05:00
var_int.tf config: disallow names starting with ints 2016-12-08 23:01:51 -05:00
var_int_bare.tf config: disallow names starting with ints 2016-12-08 23:01:51 -05:00
variable-mismatched-type.tf core: Support explicit variable type declaration 2016-01-24 11:40:02 -06:00
variable-no-name.tf config: generate errors for unnamed blocks of various sources 2017-05-02 16:29:57 -07:00
variables.tf
windows-line-endings.tf Add regression test for #4069 2015-12-01 13:37:18 -05:00