There was a discussion on Twitter that made me wonder if we should support Lambda@Edge native in SAM.
We already have a SAM example showing how to enable Lambda@Edge - https://github.com/awslabs/serverless-application-model/blob/master/examples/2016-10-31/lambda_edge/template.yaml. But this still requires setting up a CloudFront distribution and IAM Roles manually.
Can we add a Edge: True property to AWS::Serverless::Function resource that makes the function Lambda@Edge enabled? Will this be useful?
Please comment or +1 (reactions) if you will be interested in this feature.
There was a discussion on Twitter that made me wonder if we should support Lambda@Edge native in SAM.
We already have a SAM example showing how to enable Lambda@Edge - https://github.com/awslabs/serverless-application-model/blob/master/examples/2016-10-31/lambda_edge/template.yaml. But this still requires setting up a CloudFront distribution and IAM Roles manually.
Can we add a
Edge: Trueproperty toAWS::Serverless::Functionresource that makes the function Lambda@Edge enabled? Will this be useful?Please comment or +1 (reactions) if you will be interested in this feature.