Closed morgante closed 4 years ago
@mikeweng Can you handle fixing this and adding appropriate tests?
I completely forget to test nested folders! Added code for it.
In your example config, it helped reveals 3 things:
shared
folder is not detected. Due to folder's validate()
didn't recursively call subfolder's validate()
. shared
cannot have 2 parents, dev
and prod
at the same time. Added code to fail on this condition. assembledOrg.org
initialization can be handled cleaner.Test are added as well. Thanks!
CFT Launchpad doesn't seem to currently support nested folders.
This is the config used:
Command:
cft lp generate CloudFoundation.yaml -d terraform
Actual output:
Note that the shared folders don't show up anywhere.