-
Notifications
You must be signed in to change notification settings - Fork 26
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
Support for SSM (AWS's system manager) #59
Comments
Hi @appletreeat56 and thanks for submitting your issue. This repository translates Serverless framework internal validation constraints in Typescript definition. Anything supported by the framework is reflected here. |
Hi Frédéric, Thanks for getting back on this issue. Below is the serverless.ts and
I am using this version of serverless in my And this is my serveless version installed globally -
|
Hi everyone. There is any example to use SSM in serverless.ts? Thanks! |
I have the same problem... There is some work around? |
It's a shame that this is not documented. Only an example with serverless.yml is given and there is no mention of it doing "magic" in the background to produce IAM roles to allow SSM to be read from AWS. |
I find it ridiculous that |
So turns out this works fine, my issue was a spelling mistake. environment: {
AWS_NODEJS_CONNECTION_REUSE_ENABLED: "1",
// TODO (Stephen): need to correct which stage the secret lives hard coding to live for now ${ssm:/${opt:stage, 'live'}
APP_DB_INSTANCE_SECRET_ARN:
"${ssm:/live/secrets/rds/app-db-instance-secret-arn}",
}, And my secret does exist with that name. Works fine no issues. Please could you show that you actually have the parameter store value setup. Also check the parameter and the region your serverless is deployed to is the same. |
Above worked else for me even locally
|
Default value is not working anymore in last serverless version 4.1.19
Error |
Hi,
I have been trying to access
ssm
onserverless.ts
file but I keep getting this error -It use to work fine on serverless.yml. I have looked at the definition file and I could not see any reference to
ssm
either, so I am assuming that it is not supported. If so, can you please confirm?p.s: I can confirm that this
ssm
entry does exist on AWS and I can access it via AWS CLI.The text was updated successfully, but these errors were encountered: