cloudflare/dns-record v0.1.0
A new module, cloudflare/dns-record: a thin wrapper around a single cloudflare_dns_record. It exists so that a leaf managing DNS records calls a pigeon-lib module and can live at terraform/cloudflare/dns-record/<instance>/, the layout LIB-0004 sets for every spoke.
It adds no behaviour. Every argument passes straight through to the provider:
- Required:
zone_id,name,type,content. - Optional:
ttldefaults to1(automatic).proxied,priorityandcommentdefault tonull, which leaves them unset. Many existing MX and TXT records never setproxied, and a wrapper that quietly sentfalsewould turn adopting it into a change. - Output:
id.
Callers use for_each for several records. Moving an existing raw cloudflare_dns_record under this module is an address change only: add one moved block per record, and the plan shows moves and no changes. The README has both patterns.
Requires cloudflare/cloudflare ~> 5, matching the terragrunt/root-hcl template's provider block.
🤖 Generated with Claude Code