Add Provider interface and refactor Route53 behind it #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "pr1/provider-interface"
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?
Introduces internal/providers with a narrow Provider interface
(EnsureRecord/DeleteRecord/HealthCheck/Name) and moves all aws-sdk-go-v2
calls into internal/providers/route53. Switches to UPSERT semantics so
the worker no longer needs the existence-check round trip. Fixes the
cached-zone-id bug: zones are now apex-keyed and resolved per-domain
instead of pinned to the first container. Supports
AWS_ROUTE53_HOSTED_ZONE_ID for IAM-scoped deployments.
Behaviour-neutral. PR2 will add per-container provider selection,
a registry, and the DigitalOcean implementation.
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com