Replies: 15 comments
-
I would like to voice that doing this would ease a lot of deployment headaches. My expectation is that this key value would abstract away the |
Beta Was this translation helpful? Give feedback.
-
With a Is that possible within SAM? 🤔 That could be awesomely great! Resolving issue #635 |
Beta Was this translation helpful? Give feedback.
-
This feature should also consider the time it takes to perform a Lambda@Edge update, due to the CloudFront distribution update time which CloudFormation waits for. It is fine for the update to take a while if updating a Lambda function, as long as code has actually changed, and such, would be nice to somehow compare versions to prevent unnecessary new Lambda versions and deployments (though may be out the scope of this feature). |
Beta Was this translation helpful? Give feedback.
-
Would also love to see Lambda@Edge abstraction in SAM. We're currently in the process of porting over some of our Serverless Framework implementations to SAM and Edge functions are something we use heavily. I'd like to point out a few things that would also be great if this support included.
|
Beta Was this translation helpful? Give feedback.
-
@iDVB Could you provide some more information on what you'd like SAM to provide as part of support for Lambda@Edge? |
Beta Was this translation helpful? Give feedback.
-
@keetonian Sorry, I meant it more as a mention if there aren’t already ways to do this with SAM. I’m brand new to it; previously using Serverless Framework exclusively. Once I take an honest dive in, I should have a better feel for what might be missing. Just could not google much in the way of Lambda@Edge and SAM. But I’m starting to think this is because SAM doesn’t really abstract functions and so they are handled the same regardless of edge or not. |
Beta Was this translation helpful? Give feedback.
-
@sanathkr is there any update on this? |
Beta Was this translation helpful? Give feedback.
-
Hey, any update on this? It's getting used more and more |
Beta Was this translation helpful? Give feedback.
-
Any updates? |
Beta Was this translation helpful? Give feedback.
-
4 years and a half later, any update? |
Beta Was this translation helpful? Give feedback.
-
The stack deletion barrier has become a problem for us as well, we can't use the Lambda@Edge in our development stacks because they won't clean themselves up which would leave orphaned functions behind. |
Beta Was this translation helpful? Give feedback.
-
any update? |
Beta Was this translation helpful? Give feedback.
-
Any update? |
Beta Was this translation helpful? Give feedback.
-
That is really something critical missing for SAM! |
Beta Was this translation helpful? Give feedback.
-
Any updates? |
Beta Was this translation helpful? Give feedback.
-
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 toAWS::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.
Beta Was this translation helpful? Give feedback.
All reactions