Function Updates are not Deployed?
MarkHerhold opened this issue · 1 comments
MarkHerhold commented
It seems that I have to re-associate a function with CloudFormation manually after every code update for it to actually take effect.
Is there a way to automate this?
ConnorKirk commented
Hi @MarkHerhold
Thanks for opening an issue.
This page on Editing a Lambda@Edge function associated with a CloudFront Distribution explains the process better than I will.
In summary, a new version of the Lambda @ Edge function needs to be published. The trigger for the Lambda@Edge function then needs to be created.
The new version of this sample no longer includes a Lambda@Edge function for adding security headers. These are now configured using CloudFront Response Header Policies