terraform-res
2024-01-06
Major domain JSON buildout with per-domain files and website module expansion
25 files · 457+ · 86-
Per-domain JSON files
7 files changed
80hd-meme.jsonDomain config for 80hd.meme with DNS records and registrar infomanic-meme.jsonDomain config for manic.memeneurotic-meme.jsonDomain config for neurotic.meme with TXT, DMARC, and CNAME recordsnihilist-meme.jsonDomain config for nihilist.meme with overridable recordspsychotic-meme.jsonDomain config for psychotic.memeshitpost-meme.jsonDomain config for shitpost.memeshitposting-meme.jsonDomain config for shitposting.meme
- Restructured domain definitions from a single multi-domain JSON file into individual per-domain JSON files in the domains/ directory, each containing version, records, DNS providers, dates, and registrar metadata
decouple
architectural
3 files
neurotic-meme.json80hd-meme.jsonmanic-meme.json
Website module expansion
2 files changed
main.tfMassively expanded with Cloudflare Pages project, Workers route, and DNS record managementvariables.tfAdded new variables for site configuration
- Expanded website module from stub to full Cloudflare Pages deployment with Workers routes, custom domain DNS records, and Pages project configuration
instantiate
behavioral
1 file
main.tf
GoDaddy module improvements
7 files changed
main.tfRefactored GoDaddy module for cleaner domain operationsoutputs.tfAdded outputs for GoDaddy domain stateprovider.tfUpdated provider configurationget_ns.shRefined nameserver fetch scriptupdate_ns.shRefined nameserver update scriptgodaddy-get-domain-result.jsonAdded test fixture for GoDaddy API responsesvariables.tfExpanded module variables with detailed domain config
- Refactored GoDaddy module with cleaner variable structure, added test fixtures, and improved nameserver management scripts
interface
behavioral
2 files
main.tfvariables.tf
Root module updates
7 files changed
main.tfUpdated module calls for new per-domain structurelocals.tfUpdated locals to load per-domain JSON filesoutputs.tfExpanded outputsvariables.tfAdded new variables.terraform.lock.hclUpdated provider lock fileoutputs.tfAdded Cloudflare zone outputsmain.tfMinor DNS module refinement
- Updated root module locals to dynamically load per-domain JSON files and wire them through the module hierarchy
streamline
internal
2 files
locals.tfmain.tf