Commit Graph

115 Commits (1e2da4f776bdf74058154ed31c4cd62b052d3f2d)

Author SHA1 Message Date
Alex Pilon c2bc88fc23
prune ResourceProviderFullName and its callers
7 years ago
Radek Simko 5b9f2fafc8 Standardise directory name for test data
7 years ago
Martin Atkins 87e1fb4d66 config: a nicer error message for invalid provider constraints
9 years ago
James Bardin 048af6e237 Add test fixture to check for warnings
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 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 71e68f06c4 config: allow tests to force using the HCL2 loader
9 years ago
Martin Atkins 0a342e8dc2 config: allow local value interpolations in count
9 years ago
Martin Atkins 8cd0ee80e5 config: merge/append for local values
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
Martin Atkins 76dca009e0 Allow escaped interpolation-like sequences in variable defaults
9 years ago
James Bardin a111635908 Fix panic in interpolate_walk
9 years ago
James Bardin 3c41a7ca1e Add test for Validate crash
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 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 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 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 694b16de5d
config: ignore_changes cannot have interpolations
10 years ago
Mitchell Hashimoto 609219fc65 command/meta: validate config immediately
10 years ago
James Bardin 94674fe93c Add a test load of a data source with count
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 Bardin 1af7ee87a2 Silence log output when not verbose
10 years ago
James Nugent 01cd596c60 core: Fix detection of empty list/map defaults
10 years ago
James Nugent f1d0fc46aa core: Fix go vet issues shown by Travis
10 years ago
James Nugent f49583d25a core: support native list variables in config
10 years ago
James Nugent e57a399d71 core: Use native HIL maps instead of flatmaps
10 years ago
Paul Hinze 567a9b9e06 config: remove missing equals test to fix build
10 years ago
Paul Hinze 3f72837f4b core: Make copies when creating destroy nodes
10 years ago
Paul Hinze 87a9701f91 config: validation error when output is missing value field
10 years ago
Sander van Harmelen c62370f9e9 Add a function to load JSON directly
11 years ago
Mitchell Hashimoto cca4964552 config: error in validation if module has self variable
11 years ago
Mitchell Hashimoto d0a6d78b97 config: test that resources reference good providers
11 years ago
Mitchell Hashimoto 8ee18e2e14 config: happy case test for multiple providers
11 years ago
Mitchell Hashimoto a599d5f224 config: validate that a multi provider is only configured once each
11 years ago
Paul Hinze 975a96f271 core: protect against count.index in modules
11 years ago