1 個回答
- 最新
- 最多得票
- 最多評論
0
The ZipFile
attribute in CloudFormation only works with scripted language runtimes nodejs and python, since CloudFormation does not / cannot do the "compile" step for you. The clean way is to use S3Key
as you already stated corectly. And then specify new versions with S3ObjectVersion
.
AWS SAM automates these steps for you. Another tool worth a look for compiling/handling Lambdas with CloudFormation is the CDK (golang alpha module).
已回答 2 年前
相關內容
- 已提問 1 年前
- AWS 官方已更新 3 年前
- AWS 官方已更新 2 年前