https://pulumi.com logo
#aws
Title
l

limited-rainbow-51650

04/04/2020, 5:47 PM
How can I circumvent the CharacterStringTooLong for a DKIM DNS record in Pulumi? If I split the string, Pulumi adds a newline between what is now 2 records. It also sorts alphabetically. https://aws.amazon.com/premiumsupport/knowledge-center/route53-resolve-dkim-text-record-error/
s

stocky-island-3676

04/08/2020, 12:58 PM
@limited-rainbow-51650 Doesn’t the documented way work?
To specify a single record value longer than 255 characters such as a TXT record for DKIM, add 
\"\"
 inside the configuration string (e.g. 
"first255characters\"\"morecharacters"
)
l

limited-rainbow-51650

04/08/2020, 1:00 PM
To be honest, I seem to have overlooked that in the docs… Let me try.
s

stocky-island-3676

04/08/2020, 1:01 PM
l

limited-rainbow-51650

04/08/2020, 1:08 PM
It works. Tnx.
7 Views