Skip to content
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

When updating existing cloudfront via cloudformation, lambda edge is removed #16

Open
jonasbarsten opened this issue Oct 23, 2020 · 0 comments

Comments

@jonasbarsten
Copy link

Hi!

We have one stack for all our resources (db/cognito/cloudfront/s3 etc) and another stack for all our lambdas and API gateway.

If I first add a cloudfront distro in the resources stack and then add a lambda@edge in the API stack, all works as expected (nice!). But if I go back and update the cloudfront in the resources stack, ex. enable compression, then the lambda@edge is no longer associated with the cloudfront.

Any thoughts / workarounds?

All the best.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant