Domain Model: godaddy-tofu

arch-domain-godaddy-tofu Architecture

architecture active

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
  • arch-dataflow-godaddy-tofu — runtime API call flow
  • arch-deployment-godaddy-tofu — provider distribution
  • project-godaddy-tofu — project page