Branko Gvoka
07/02/2021, 10:02 AMGuy Shechter
07/02/2021, 3:34 PM.env
files are available to your SST/CDK code, not the Lambda functions that you are creating. In order to make them visible to your deployed functions, you need to pass them along using the environment
key when you define your functions. Hope that helps
environment: {
"VAR_FOR_MY_LAMBDA": process.env.VAR_FOR_MY_LAMBDA
}
Guy Shechter
07/02/2021, 3:36 PM/lib
folder, not the /src
folder, if you are following the example templates.Branko Gvoka
07/02/2021, 3:43 PMJay
Frank