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

Lambda versions with VPCs in Terraform for AWS #6505

Open
skyrpex opened this issue May 16, 2024 · 0 comments
Open

Lambda versions with VPCs in Terraform for AWS #6505

skyrpex opened this issue May 16, 2024 · 0 comments
Labels
✨ enhancement New feature or request needs-discussion Further discussion is needed prior to impl 🎨 sdk SDK

Comments

@skyrpex
Copy link
Contributor

skyrpex commented May 16, 2024

Terraform for AWS keeps Lambda versions from previous deployments. These Lambda versions may be attached to a VPC and a Security Group, and if this VPC or Security Group is to be removed in the future, the terraform apply process will be stuck trying to delete the Security Group.

We stumbled upon this issue in Wing Cloud recently. We had to manually delete previous Lambda versions of the functions that were inside the VPC, and Pol also had to use an interesting tool to find other resources that were "hidden" dependencies of the ENI.

Maybe we should try to stick to one Lambda version for Wing deployments?

Related:

@staycoolcall911 staycoolcall911 added ✨ enhancement New feature or request 🎨 sdk SDK needs-discussion Further discussion is needed prior to impl labels May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement New feature or request needs-discussion Further discussion is needed prior to impl 🎨 sdk SDK
Projects
Status: 🤝 Backlog - handoff to owners
Development

No branches or pull requests

2 participants