route53 - Support for FQDN Record Names (without appended hosted zone names) (ACM validation records) #2232
Labels
kind/bug
Categorizes issue or PR as related to a bug.
service/route53
Indicates issues or PRs that are related to route53-controller.
Description
Creating a
RecordSet
resource withspec.name
as a fully qualified domain name (FQDN) ending with a period (.
) throws an error.This happens because the domain name corresponding to
hostedZoneID
is coerced into thespec.name
as a suffixSteps to Reproduce
Create an ACM certificate that requires DNS validation.
Attempt to create a
RecordSet
for the validation CNAME record using the following spec:Observe the error:
Expected Behavior
The
RecordSet
should treatspec.name
as an absolute FQDN because it ends with a period (.
), and no further appending of the hosted zone domain should occur. This behavior is critical for creating ACM validation records, which require FQDNs.Actual Behavior
The hosted zone domain is appended to the record name, resulting in a misconfigured domain name with duplicate suffixes (
example.com..example.com
).Impact
This issue prevents the creation of DNS validation records required for ACM certificate validation via ACK.
Workarounds
spec.name
and allow Route 53 to append the hosted zone domain, but this doesn't match the requirements for ACM DNS validationProposed Solution
ACK should support FQDNs in
spec.name
forRecordSet
resources. If record names end with a period, don't append the hosted zone.Environment
Relevant Issues
The text was updated successfully, but these errors were encountered: