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 年前
相关内容
- AWS 官方已更新 3 年前