terraform-res 2023-12-23
Refine DNS module with per-provider routing and variable restructuring
11 files · 219+ · 94-

Per-provider DNS routing

3 files changed
  • main.tf Refactored DNS record creation with provider-aware routing logic
  • variables.tf Expanded DNS module variables for provider selection
  • outputs.tf Updated outputs for multi-provider records
  • Refactored DNS module to route record creation to the correct provider (Cloudflare or GoDaddy) based on domain configuration, enabling mixed-provider DNS management decouple behavioral
    2 files
    • main.tf
    • variables.tf

Module provider declarations

5 files changed
  • provider.tf Added explicit provider requirements for Cloudflare module
  • provider.tf Added explicit provider requirements for GoDaddy module
  • variables.tf Expanded Cloudflare module variables
  • variables.tf Expanded GoDaddy module variables
  • main.tf Updated GoDaddy module resource definitions
  • Added explicit required_providers blocks to Cloudflare and GoDaddy modules for proper provider inheritance instantiate internal
    2 files
    • provider.tf
    • provider.tf

Domain data refinement

2 files changed
  • main.tf Updated root module with refined module calls
  • domains.json Restructured domain JSON format
  • Restructured domain JSON format and root module wiring for cleaner data passing between modules streamline behavioral
    1 file
    • main.tf