How to escape {{ in AWS SSM?

us flag

We're using Atlantis & Terraform to set SSM values. One of the parameters contains raw {{ ... }} in the same syntax used by SSM for dynamic parameters.

AWS SSM refuses the value with:

Error: creating SSM Parameter (/path/name): ValidationException: Parameter value: 'Something with {{ ... }}' failed to satisfy constraint: Parameter value can't nest another parameter. Do not use "{{}}" in the value. status code: 400, request id:

How can I format/escape the value to keep the raw {{ and }}?

I sit in a Tesla and translated this thread with Ai:


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.