Commit Graph

165 Commits (449ea72e87da7e697ef7b68283a852cc9cc09045)

Author SHA1 Message Date
Martin Atkins 39e609d5fd vendor: switch to HCL 2.0 in the HCL repository
7 years ago
Alex Pilon c2bc88fc23
prune ResourceProviderFullName and its callers
7 years ago
Martin Atkins 5b08fd4f9f config: Don't expose go implementation details in Resource.Count
8 years ago
Martin Atkins 87e1fb4d66 config: a nicer error message for invalid provider constraints
8 years ago
James Bardin e0b2c64645 accessing count directly in an output should is OK
8 years ago
James Bardin 048af6e237 Add test fixture to check for warnings
9 years ago
Martin Atkins cc5e480378 config: detect and warn about access to "counted" attributes
9 years ago
Martin Atkins ba0514106a return tfdiags.Diagnostics from validation methods
9 years ago
James Bardin 8619f566bb validate providers passed to a module exist
9 years ago
James Bardin b79adeae02 save resolved providers for resources to state
9 years ago
James Bardin 57470f6bf5 remove ProviderConfig Path and Inherited fields
9 years ago
James Bardin 1756b3d09f ProviderConfig needs an Inherited flag
9 years ago
James Bardin 2e505083cd change ProviderConfig.Scope to Path
9 years ago
James Bardin 29e5a355b9 add "version" and "provider" to module config
9 years ago
Martin Atkins bbf9725134 config: Validate resource "count" for HCL2-specified resources
9 years ago
Martin Atkins 0a342e8dc2 config: allow local value interpolations in count
9 years ago
Martin Atkins f6797d6cb0 config: parsing of "locals" blocks in configuration
9 years ago
Martin Atkins f70318097a config: fix provider version constraint validation
9 years ago
Martin Atkins 0b14c2cdb3 Resolve resource provider types in config package
9 years ago
Martin Atkins 7e7d4c70df config: allow version constraints on providers, but validate them
9 years ago
Martin Atkins 73fc9985b2 config: add "version" argument to provider blocks, disabled
9 years ago
Martin Atkins 410b60cb7f Stop requiring multi-vars (splats) to be in array brackets
9 years ago
Patrick Decat 392166faea Typo: now => no (#14493)
9 years ago
Justin Campbell c1c3127d8e config: Generate error copy from valid types map
9 years ago
Justin Campbell cf775ded0e config: Add 'list' to variable type error message
9 years ago
Martin Atkins 76dca009e0 Allow escaped interpolation-like sequences in variable defaults
9 years ago
Mitchell Hashimoto e2ca2c5911
config: allow TerraformVars in count
9 years ago
Mitchell Hashimoto 6b4c007894
config: validate backend configuration can't contain interpolations
9 years ago
Mitchell Hashimoto b6bfc4798d
config: Resource.Count should type check
9 years ago
Mitchell Hashimoto cf46e1c3e0
terraform: don't validate computed values in validate
9 years ago
Mitchell Hashimoto 7b342100d0
config: add "backend" loading to the Terraform section
9 years ago
Mitchell Hashimoto 928fce71f7
config: parse "when" and "on_failure" on provisioners
9 years ago
Mitchell Hashimoto 0c30caec7d
config: smarter provider alias usage validation
9 years ago
Mitchell Hashimoto 3878b8b093
config: Merge respects Terraform blocks, provider aliases, and more
9 years ago
Mitchell Hashimoto b5f1738e17
config: allow IDs to start with numbers
10 years ago
Mitchell Hashimoto 8b9e2c17cc
config: fix NameRegexp validation to allow single-char names
10 years ago
Mitchell Hashimoto 6b458160b9
config: disallow names starting with ints
10 years ago
Mitchell Hashimoto 3665fea2db
config: validate that data sources don't have provisioners
10 years ago
Martin Atkins 399542a168 core: allow outputs to have descriptions (#9722)
10 years ago
Mitchell Hashimoto 25d19ef3d0 Merge pull request #10080 from hashicorp/f-tf-version
10 years ago
Mitchell Hashimoto df34fa88ce Merge pull request #10076 from hashicorp/f-depend-module
10 years ago
Mitchell Hashimoto 85d3439fa0
config: parse and validate terraform.required_version
10 years ago
Mitchell Hashimoto 576b61a21d
config: validate depends_on with module values
10 years ago
Mitchell Hashimoto 10426ba619
config: parse depends_on for outputs
10 years ago
Mitchell Hashimoto 694b16de5d
config: ignore_changes cannot have interpolations
10 years ago
Sander van Harmelen 47dd1ad153 Add wildcard (match all) support to ignore_changes (#8599)
10 years ago
Mitchell Hashimoto fbf06e2a59
config: vars must be unique
10 years ago
Mitchell Hashimoto 099293b690
config: outputs must be unique
10 years ago
Mitchell Hashimoto f4faf2274b
config: count can't be a SimpleVariable
10 years ago
James Nugent 01cd596c60 core: Fix detection of empty list/map defaults
10 years ago