Dan Van Brunt
09/10/2021, 6:42 PMUsage in Lambda: Fetch the SSM values inside a Lambda function using the AWS SDK
as the docs further read.
Perhaps there are two methods here:
1. Use aws-ssm
construct to pass the ssm value at deploy time into something. (Security: it depends, secrets shouldn’t be stored in plain text as lambda env vars)
2. Pass the SSM parameter name into a Lambda as an env var. Then fetch that value inside the function using aws-sdk.
No?thdxr
09/10/2021, 7:09 PMthdxr
09/10/2021, 7:09 PMDan Van Brunt
09/10/2021, 7:20 PMaws-ssm
construct and then say that you reference the value in the lambda with the SDK. However you only need to do one of the two.Frank
Frank