-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cloudfront: edgeLambdas not associating trigger #25783
Comments
Hi Which region are you deploying? |
Hello Yes, I am deploying everything in us-east-1. Still, no luck |
@ETisREAL how did you check for presence of trigger event? The cloudfront trigger is only shown/visible on the specific lamba version in home region us-east-1. Not on latest or replicas. If you go to lamba in aws console you need to select version under version tab to see the triggers for that version. |
Hi @rv2673 I checked the current version on us-east-1 region, but still it didn't appear. To be honest, I've dropped that option by now, so maybe I should try again and see if I still have the same issue now, but at the time I am sure I checked the version and the region |
@ETisREAL I created a very tiny sample. Can you try the EdgeFunction like this and let me know if it works for you? |
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
Hi @pahud I confirm that now everything is working as expected! Awesome! Thank you very much for the time you dedicated to this issue :) |
|
Describe the bug
Trying to associate an edge lambda function to a cloudfront distribution doesn't result in the association of the trigger event with the lambda function
Expected Behavior
Upon creation, I should be able to see the coudfront distribution associated as a trigger with the function
Current Behavior
Everything gets created, but the trigger event
Reproduction Steps
Here is my code... (granted, the logging doesn't work... working on it)
Possible Solution
I'm pretty sure is just a missing line of code on the association between the distribution and the function
Additional Information/Context
No response
CDK CLI Version
2.81
Framework Version
No response
Node.js Version
v18.04
OS
Linux - Ubuntu
Language
Typescript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: