terraform/configs/test-fixtures
Martin Atkins 7c8efe103e configs: allow overrides files to omit args that primary files can't
Some of the fields in our config structs are either mandatory in primary
files or there is a default value that we apply if absent.

Unfortunately override files impose the additional constraint that we
be allowed to omit required fields (which have presumably already been
set in the primary files) and that we are able to distinguish between a
default value and omitting a value entirely.

Since most of our fields were already acceptable for override files, here
we just add some new fields to deal with the few cases where special
handling is required and a helper function to disable the "Required" flag
on attributes in a given schema.
2018-02-15 15:56:38 -08:00
..
invalid-files configs: Parser.LoadConfigDir 2018-02-15 15:56:37 -08:00
invalid-modules/override-nonexist-variable configs: Parser.LoadConfigDir 2018-02-15 15:56:37 -08:00
valid-files configs: Simple test of loading valid configuration files 2018-02-15 15:56:37 -08:00
valid-modules configs: allow overrides files to omit args that primary files can't 2018-02-15 15:56:38 -08:00