:/path/to/ssm/test~true} 现在,当我尝试运行无服务器离线命令时,它会报告ssm变量。ServerlessError: Trying to populate non string value into a string for variable ${ssm:/path/to/ssm/testVariables.populateVariable (C:\Users\kumarn\AppData\Roaming\npm\nod
但在部署过程中遇到了一个错误:InvalidLambdaFunctionAssociation: The function cannot have environment variables,所以我切换到使用aws-sdk与SSMssm.getParameter,但是在用aws-sdk压缩lambda存档之后,再使用一个约13 MB。在每个Lambda构建上生成带有环境变量的文件,并在index.js中要求它