Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 VSCode 开发、测试 AWS Lambda 函数。我找不到有关如何在 .aws/templates.json 文件中设置 "environmentVariables": {} 的任何帮助,以便我的 lambda 函数可以获取它们。
aws-toolkit-vscode 小组在他们的 github 问题板上为我提供了答案。转到此链接以了解如何设置环境变量。
https://github.com/aws/aws-toolkit-vscode/issues/795