-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
route53: " not escaped correctly #26104
Comments
Hi @dbartholomae , I have seen this behavior also when creating a TXT record in the AWS Management Console itself. The latter seems to be in line with the Route53 documentation available here. There is an information about using double quotes:
An example is also provided
Hope this helps a bit. |
We seem to do this intentionally aws-cdk/packages/@aws-cdk/aws-route53/lib/record-set.ts Lines 336 to 364 in 9752ed2
Thanks for the additional context @stefanfreitag. @dbartholomae is there a specific value you're trying to provide that doesn't want to have the backslash? |
Thanks! I'm currently transferring an existing Hosted Zone to CDK and compare the records with help of |
Thanks! The difference came because the record was larger than maximum length and CDK split it at a different point than the previous setup. Since this doesn't have an effect on the actual record, the current behavior should be fine except for very weird special cases. |
|
Describe the bug
Hi there!
Expected Behavior
This should generate a text record with
a""b
Current Behavior
It creates
a\"\"b
instead.Reproduction Steps
See example
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.72.1
Framework Version
No response
Node.js Version
16.14.2
OS
Mac
Language
Typescript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: