elegant-gigabyte-8733
07/05/2023, 8:45 PMaws.ssm.getParameter
to get an SSM parameter that is a private key and that has some line breaks in the string \n
however it looks like retrieving this way adds an extra slash \
so all the line breaks turn into \\n
making it an invalid private key.
Code looks like this:
pulumi.output(aws.ssm.getParameter({name: '/my/param'}, {async: true})).value