SSM - make `${ssm:MY_SECRET}` work

Hi!

We have been trying to make ${ssm:MY_SECRET} work. We have tried so many tuts, plugins and we are not really sure what is up with sls or our template but we’ve tried all the answers we can find, to no avail.

We are just trying to get params from the AWS SSM service, with no luck yet.

Thank you!

Make sure you have an AWS profile or the proper AWS access envs configured that points to the account where the SSM param is stored.

You can use the aws-cli: aws configure --profile <default or a specific name>

https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html

Also, the SSM params use FQNs so they always start with /.

1 Like