Wire up GoDaddy provider in pal-e-platform terraform for DNS record management #443
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ldraney/pal-e-platform#443
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Feature
Lineage
Blocks DNS activation for
palinks.appandlandscaping-assistant.app. PR #436 (issue #435) addedterraform/dns.tfwithgodaddy_dns_recordresources, but the GoDaddy provider was never added to the terraform configuration.Repo
ldraney/pal-e-platformUser Story
As a platform operator
I want the GoDaddy provider wired into pal-e-platform terraform
So that
tofu applycan create the DNS A records that point both domains to the edge-proxyContext
The custom domain wave chain is code-complete (Caddy Salt states deployed, Rails config.hosts merged, Keycloak redirect URIs applied), but DNS is the missing link.
dns.tfreferencesgodaddy_dns_recordresources andmodule.hetzner_edge.server_ipv4, but:versions.tfhas nogodaddyinrequired_providersproviders.tfhas noprovider "godaddy"blocksecrets.auto.tfvarshas no GoDaddy API credentialsldraney/godaddy-tofuor via filesystem_mirror)Both domains currently resolve to GoDaddy parking IPs instead of the edge-proxy (178.156.129.142). The CI pipeline already builds godaddy-tofu from source (
filesystem_mirror,CGO_ENABLED=0for Alpine). The local dev environment needs the same provider available.File Targets
Files the agent should modify:
terraform/versions.tf— addgodaddytorequired_providersblock (source: local filesystem_mirror or custom registry)terraform/providers.tf— addprovider "godaddy" { api_key = var.godaddy_api_key; api_secret = var.godaddy_api_secret }terraform/variables.tf— addgodaddy_api_keyandgodaddy_api_secretvariable declarationsterraform/secrets.auto.tfvars— add GoDaddy API credentials (from~/secrets/or env vars)terraform/secrets.auto.tfvars.example— add placeholder entries for GoDaddy credentialsFiles the agent should NOT touch:
terraform/dns.tf— already correct, referencesmodule.hetzner_edge.server_ipv4salt/— Caddy config is deployed and workingFeature Flag
none
Acceptance Criteria
tofu initsucceeds with the GoDaddy provider resolvedtofu planshows the two DNS A records to be createdtofu applycreates both A records successfullydig palinks.app Areturns178.156.129.142dig landscaping-assistant.app Areturns178.156.129.142curl -I https://palinks.appreturns HTTP 200 from the Rails appcurl -I https://landscaping-assistant.appreturns HTTP 200 from the Rails appTest Expectations
tofu plan -var-file=k3s.tfvarsshows exactly 2 resources to add (the DNS records)Constraints
ldraney/godaddy-tofu— check CI's filesystem_mirror patternChecklist
Related
ldraney/godaddy-tofu— the provider source repoldraney/pal-e-platform #435— original DNS record PR that added dns.tfldraney/pal-e-platform #425— Caddy reverse proxy (deployed, waiting on DNS)ldraney/pal-e-platform #434— Caddy for landscaping-assistant.app (deployed, waiting on DNS)