terraform-res
2024-01-11
Add JSON schema validation module and test infrastructure
15 files · 240+ · 14-
Schema validation module
1 file changed
main.tfTerraform module for validating domain JSON structure against expected schema
- Created schema_validator module that validates domain JSON configuration files against the expected data model structure
qualify
behavioral
1 file
main.tf
Test infrastructure
7 files changed
test.tfTerraform test comparing JSON structuresdata.jsonTest data for JSON comparisonmodel.jsonExpected model for JSON validationpsychotic-meme.jsonTest fixture for psychotic.meme domainmain.tfHelper module for reading JSON in testsmain.tfSchema validation helper modulemain.tfStructure analysis helper module
Domain record expansion
5 files changed
manic-meme.jsonAdded additional DNS recordsnihilist-meme.jsonAdded additional recordspsychotic-meme.jsonAdded additional recordsshitpost-meme.jsonAdded additional recordsshitposting-meme.jsonAdded additional records
DNS module refinement
2 files changed
main.tfContinued DNS record handling refinementmain.tfAdded schema validation module call
- Integrated schema validation into the root module and refined DNS record handling
streamline
behavioral
2 files
main.tfmain.tf