terraform/configs/testdata
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
..
config-build Standardise directory name for test data 2019-06-30 10:16:15 +02:00
invalid-files Standardise directory name for test data 2019-06-30 10:16:15 +02:00
invalid-modules Standardise directory name for test data 2019-06-30 10:16:15 +02:00
nested-errors ensure we record diagnostics from nested modules 2019-07-16 19:06:48 -04:00
valid-files Standardise directory name for test data 2019-06-30 10:16:15 +02:00
valid-modules Standardise directory name for test data 2019-06-30 10:16:15 +02:00