aws-ses: EmailIdentity dkimRecords compatibility with Route53 #26738
Labels
@aws-cdk/aws-ses
Related to Amazon Simple Email Service
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
p2
Describe the bug
When setting up a new verified email identity with
new EmailIdentity
, you get back a set of dkim records that you then need to add to your hosted zone.Unfortunately the records are not fully compatible with an IRecordSet.
Expected Behavior
I would expect the record.name to be compatible with a new CnameRecord
Current Behavior
The dkimRecord names don't have a full stop at the end of them which means that when CDK runs, the domain will end up being duplicated.
Reproduction Steps
Possible Solution
It would be nice if the record.name would include the full stop.
The workaround is this:
Another solution would be to have a field that returns the domain keys alone so that we could construct the record names ourselves. Or just return the record name without the domain element.
An alternative approach would be to enrich the EmailIdentity with a zone parameter and make it add the records itself.
Additional Information/Context
No response
CDK CLI Version
2.91.0
Framework Version
No response
Node.js Version
v20.5.0
OS
Ubuntu
Language
Typescript
Language Version
Typescript 5.1.6
Other information
No response
The text was updated successfully, but these errors were encountered: