terraform/configs
James Bardin 8111050c66 ensure we record diagnostics from nested modules
When loading nested modules, the child module diagnostics were dropped
in the recursive function. This mean that the config from the submodules
wasn't fully loaded, even though no errors were reported to the user.

This caused further problems if the plan was stored in a plan file, when
means only the partial configuration was stored for the subsequent apply
operation, which would result in unexplained "Resource node has no
configuration attached" errors later on.

Also due to the child module diagnostics being lost, any newly added
nested modules would be silently ignored until `init` was run again
manually.
2019-07-16 19:06:48 -04:00
..
configload Standardise directory name for test data 2019-06-30 10:16:15 +02:00
configschema configs/configschema: Introduce the NestingGroup mode for blocks 2019-04-10 14:53:52 -07:00
configupgrade Standardise directory name for test data 2019-06-30 10:16:15 +02:00
testdata ensure we record diagnostics from nested modules 2019-07-16 19:06:48 -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 configload: Configuration snapshots 2018-10-16 18:50:29 -07:00
parser_config_dir_test.go Standardise directory name for test data 2019-06-30 10:16:15 +02:00
parser_config_test.go Standardise directory name for test data 2019-06-30 10:16:15 +02: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 configs: Reserve various names for future use 2018-11-26 08:25:03 -08: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