terraform-res 2024-01-11
Add JSON schema validation module and test infrastructure
15 files · 240+ · 14-

Schema validation module

1 file changed
  • main.tf Terraform 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.tf Terraform test comparing JSON structures
  • data.json Test data for JSON comparison
  • model.json Expected model for JSON validation
  • psychotic-meme.json Test fixture for psychotic.meme domain
  • main.tf Helper module for reading JSON in tests
  • main.tf Schema validation helper module
  • main.tf Structure analysis helper module
  • Built JSON comparison test suite with reader, validator, and analyzer helper modules for validating domain configuration structures qualify internal
    1 file
    • test.tf

Domain record expansion

5 files changed
  • manic-meme.json Added additional DNS records
  • nihilist-meme.json Added additional records
  • psychotic-meme.json Added additional records
  • shitpost-meme.json Added additional records
  • shitposting-meme.json Added additional records
  • Expanded multiple domain JSON files with additional DNS records for more complete domain configurations specify internal
    2 files
    • manic-meme.json
    • psychotic-meme.json

DNS module refinement

2 files changed
  • main.tf Continued DNS record handling refinement
  • main.tf Added schema validation module call
  • Integrated schema validation into the root module and refined DNS record handling streamline behavioral
    2 files
    • main.tf
    • main.tf