route53.CaaAmazonRecord ignores recordName prop #5764
Labels
@aws-cdk/aws-route53
Related to Amazon Route 53
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
good first issue
Related to contributions. See CONTRIBUTING.md
in-progress
This issue is being actively worked on.
p1
route53.CaaAmazonRecord construct accepts a
recordName
prop per documentation, however, in the code it gets the value ofprops.zone.zoneName
instead ofprops.recordName ?? props.zone.zoneName
.Therefore, regardless of what value is specified under
recordName
it would always create it for the root.Reproduction Steps
The code above should create a CAA record for
subdomain.example.com
but creates forexample.com
instead.Error Log
None.
Environment
Other
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: