Chalice: Can you deploy Lambda@Edge functions with chalice?

Created on 29 Jan 2021  路  3Comments  路  Source: aws/chalice

I was looking through https://aws.github.io/chalice/topics/events.html to see if there was support for Lambda@Edge (my guess was there might be a CloudFront Event section) but didn't see one.

I'm curious if it is possible to somehow use chalice to deploy Lambda@Edge functions. AWS docs on the Event Structure here: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-event-structure.html

Is the only necessary step to hook into the correct Event types as a trigger for the lambda, or do you think I would have to do any other configuration to use chalice to manage a Lambda@Edge Function?

closing-soon-if-no-response question

Most helpful comment

@jamesls I am interested in lambda@edge support, to achieve lower latency. Do you know what the level of effort for this task might be?

All 3 comments

Chalice does not support lambda@edge functions right now. There's a few more steps involved with the lambda@edge functions, you'll need to ensure that cloudfront->lambda have the appropriate permissions and then set up the configuration in your cloudfront distribution.

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

@jamesls I am interested in lambda@edge support, to achieve lower latency. Do you know what the level of effort for this task might be?

Was this page helpful?
0 / 5 - 0 ratings