Domain Model: godaddy-tofu
Domain Model: godaddy-tofu
Diagram
Components
| Component | Purpose | Notes |
|---|---|---|
| PROVIDER | Provider config with GoDaddy API credentials | Maps to <code>provider "godaddy" {}</code> block |
| DNS_RECORD | Individual DNS record (A, CNAME, TXT, MX, etc.) | Resource: <code>godaddy_dns_record</code>. Composite key: domain+type+name |
| DOMAIN | Registered domain with metadata | Resource: <code>godaddy_domain</code> (read-heavy, limited write). Data source: <code>godaddy_domains</code> |
Key Decisions
- DNS records as individual resources (not bulk replace) — avoids the dangerous "delete unmanaged records" pattern from community providers
- Composite key (domain+type+name) identifies a record — matches GoDaddy API path structure
- Domain resource is read-heavy — purchase/transfer/delete are out of scope for initial implementation
Related
arch-dataflow-godaddy-tofu— runtime API call flowarch-deployment-godaddy-tofu— provider distributionproject-godaddy-tofu— project page