【发布时间】:2019-07-19 11:37:36
【问题描述】:
我有一个带有 AWS::Lambda::Function 资源的 CloudFormation 模板,我正在尝试将本地 zip 文件作为代码上传,但它没有上传。 Lambda 函数是在没有代码文件的情况下创建的。
Resources:
mastertestingLambdaDataDigestor:
Properties:
Code:
ZipFile: fileb:///home/dariobenitez/Proyectos/dataflow/templates/lambda_template.zip
FunctionName: mastertesting_Kinesis2DynamoDB_Datapipeline
Handler: handler.kinesis_to_dynamodb
Role: SOMEROLE
Runtime: python3.6
Type: AWS::Lambda::Function
当我尝试使用 CLI 部署相同的功能时,zip 文件路径参数有效。有什么想法吗?
非常感谢!
【问题讨论】:
标签: aws-lambda amazon-cloudformation