terraform/configs
James Bardin 554cedab8a don't validate Min/Max block vals in CoerceValue
A provider may not have the data to fill in required block values in all
cases during the resource Read operation. This is more common in import,
because there is no initial configuration or state, and it's possible
some values are only provided in the configuration.

The original intent of MinItems and MaxItems in the schema was to
enforce configuration constraints, not to enforce what the resource
could save in the state.  Since the configuration is already statically
validated, and the Schema is validated against the configuration in a
separate step, we can drop these extra validation constraints in
CoerceValue and relax it to only ensure the types conform to what is
expected.
2019-08-15 10:02:39 -04:00
..
configload Standardise directory name for test data 2019-06-30 10:16:15 +02:00
configschema don't validate Min/Max block vals in CoerceValue 2019-08-15 10:02:39 -04:00
configupgrade Merge pull request #21922 from pselle/resource_for_each 2019-07-26 11:41:56 -04:00
hcl2shim move hcl2shim package to configs 2019-08-06 19:58:58 -04:00
testdata Remove panic, update comment 2019-07-26 11:22:10 -04:00
backend.go move "configschema" from "config" to "configs" 2018-10-16 18:50:29 -07:00
compat_shim.go configs: Handle object constructor keys when shimming traversals 2018-10-16 18:49:20 -07:00
config.go grammatical updates to comments and docs (#20195) 2019-03-21 14:05:41 -07:00
config_build.go ensure we record diagnostics from nested modules 2019-07-16 19:06:48 -04:00
config_build_test.go ensure we record diagnostics from nested modules 2019-07-16 19:06:48 -04:00
config_test.go Standardise directory name for test data 2019-06-30 10:16:15 +02:00
depends_on.go configs: quoted keywords/references are warnings, not errors 2018-02-15 15:56:39 -08:00
doc.go configs: Additional guidance in doc.go 2018-02-15 15:56:39 -08:00
module.go configs: Allow looking up resources by resource addresses. 2018-10-16 18:46:46 -07:00
module_call.go configs: Reserve various names for future use 2018-11-26 08:25:03 -08:00
module_call_test.go Standardise directory name for test data 2019-06-30 10:16:15 +02:00
module_merge.go configs: Re-unify the ManagedResource and DataResource types 2018-10-16 18:44:26 -07:00
module_merge_body.go configs: Handle "dynamic" blocks as special during override merging 2019-04-16 06:58:45 -07:00
module_merge_test.go Standardise directory name for test data 2019-06-30 10:16:15 +02:00
named_values.go configs: Reserve various names for future use 2018-11-26 08:25:03 -08:00
parser.go command: 0.12upgrade command 2018-10-16 18:50:29 -07:00
parser_config.go configs: allow full type constraints for variables 2018-03-08 16:23:35 -08:00
parser_config_dir.go move IsEmptyDir to configs package 2019-07-18 13:07:10 -04:00
parser_config_dir_test.go move IsEmptyDir to configs package 2019-07-18 13:07:10 -04:00
parser_config_test.go Add support for for_each for data blocks. 2019-07-25 16:59:06 -04:00
parser_test.go configs: Reserve various names for future use 2018-11-26 08:25:03 -08:00
parser_values.go configs: Parser.LoadValuesFile 2018-02-15 15:56:37 -08:00
parser_values_test.go configs: update values file invalid syntax test for new HCL behavior 2018-03-08 11:17:39 -08:00
provider.go configs: Reserve various names for future use 2018-11-26 08:25:03 -08:00
provider_test.go Standardise directory name for test data 2019-06-30 10:16:15 +02:00
provisioner.go configs: Reserve various names for future use 2018-11-26 08:25:03 -08:00
provisioneronfailure_string.go stringer: Regenerate files with latest version 2019-05-13 15:34:27 +01:00
provisionerwhen_string.go stringer: Regenerate files with latest version 2019-05-13 15:34:27 +01:00
resource.go Add support for for_each for data blocks. 2019-07-25 16:59:06 -04:00
synth_body.go configs: Export MergeBodies and new SynthBody function 2018-10-16 18:24:47 -07:00
synth_body_test.go configs: Export MergeBodies and new SynthBody function 2018-10-16 18:24:47 -07:00
util.go configs: Handle "dynamic" blocks as special during override merging 2019-04-16 06:58:45 -07:00
variable_type_hint.go configs: stub out main configuration structs 2018-02-15 15:56:37 -08:00
variabletypehint_string.go stringer: Regenerate files with latest version 2019-05-13 15:34:27 +01:00
version_constraint.go configs: fix panic when the value is missing from version attribute in a provider block 2019-06-21 14:30:17 -04:00