terraform-aws-modules/terraform-aws-lambda

Support for replace_security_groups_on_destroy and replacement_security_group_ids

ricoli opened this issue · 4 comments

ricoli commented

Is your request related to a new offering from AWS?

Is this functionality available in the AWS provider for Terraform? See CHANGELOG.md, too.

Is your request related to a problem? Please describe.

Yes - destroying VPC associated lambdas taking a long time because of waiting for the security group(s) to no longer be used by the ENIs. See hashicorp/terraform-provider-aws#10329 (comment) for details

Describe the solution you'd like.

Support for the newly introduced replace_security_groups_on_destroy and replacement_security_group_ids lambda function arguments

Describe alternatives you've considered.

Additional context

Good idea! PR is welcome.

ricoli commented

Good idea! PR is welcome.

Sure, here you go: #422

ricoli commented

Good idea! PR is welcome.

Sure, here you go: #422

@antonbabenko any chance my PR could get a review please?