terraform/configs/test-fixtures/valid-modules
Martin Atkins cc38e91612 configs: Implementation of mergeBody
mergeBody is a hcl.Body implementation that deals with our override file
merging behavior for the portions of the configuration that are not
processed until full eval time.

Mimicking the behavior of our old config merge implementation from the
"config" package, the rules here are:

- Attributes in the override body hide attributes of the same name in
  the base body.
- Any block in the override body hides all blocks with the same type name
  that appear in the base body.

This is tested by a new test for the overriding of module arguments, which
asserts the correct behavior of the merged body as part of its work.
2018-02-15 15:56:38 -08:00
..
empty configs: Parser.LoadConfigDir 2018-02-15 15:56:37 -08:00
override-module configs: Implementation of mergeBody 2018-02-15 15:56:38 -08:00
override-output-sensitive configs: allow overrides files to omit args that primary files can't 2018-02-15 15:56:38 -08:00
override-variable configs: Parser.LoadConfigDir 2018-02-15 15:56:37 -08:00