You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is still an issue when deleting a Lambda with vpc_config. I have (2) Lambda functions with vpc_configs and one fails and one doesn't I am not sure why, but it seems to continue to be an issue.
When removing Lambda functions with vpc_config that the Lambda and any ENI's linked should be removed.
Actual Behavior
Inconsistent ENI removal. When the (2) lambdas above are removed 1 of the ENI's appears to be removed while the other doesn't.
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
execute lambda
terraform destroy
Important Factoids
When I started typing this, the ENI appeared as IN USE even the both Lambdas no longer existed. By the time I completed writing this, the ENI showed a available. Perhaps this is an issue with timing between removal of the Lambda and removal of the ENI.
The security group that is used in these ENI's comes from Elastic BeanStalk creation. In the vpc_config for these I add the EB Security group created when aws_elastic_beanstalk_env is used. So if the functionality to clean these up was added to aws_security_group delete that will not work for my scenario.
References
There was another issue reported as being fixed back in November but I do not think this issue is completely resolved.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
ghost
locked and limited conversation to collaborators
Apr 9, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
There is still an issue when deleting a Lambda with vpc_config. I have (2) Lambda functions with vpc_configs and one fails and one doesn't I am not sure why, but it seems to continue to be an issue.
Terraform Version
0.9.5
Affected Resource(s)
aws_lambda_function (with vpc_config)
Terraform Configuration Files
First Lambda Function
2nd Lambda Function
Debug Output
Not Available
Panic Output
Not Available
Expected Behavior
When removing Lambda functions with vpc_config that the Lambda and any ENI's linked should be removed.
Actual Behavior
Inconsistent ENI removal. When the (2) lambdas above are removed 1 of the ENI's appears to be removed while the other doesn't.
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
execute lambda
terraform destroy
Important Factoids
When I started typing this, the ENI appeared as IN USE even the both Lambdas no longer existed. By the time I completed writing this, the ENI showed a available. Perhaps this is an issue with timing between removal of the Lambda and removal of the ENI.
The security group that is used in these ENI's comes from Elastic BeanStalk creation. In the vpc_config for these I add the EB Security group created when aws_elastic_beanstalk_env is used. So if the functionality to clean these up was added to aws_security_group delete that will not work for my scenario.
References
There was another issue reported as being fixed back in November but I do not think this issue is completely resolved.
The text was updated successfully, but these errors were encountered: