title: Lambda in VPC deletion takes more time
body: <p>I have created a stack that lambda in VPC using cloud formation. When I try to delete the entire stack, it takes 40-45 minutes of time.</p>
  
  <p>My Iam Role has the following permission:</p>
  
  <pre><code>Action:                            
            - ec2:DescribeInstances
            - ec2:CreateNetworkInterface
            - ec2:AttachNetworkInterface
            - ec2:DescribeNetworkInterfaces
            - ec2:DeleteNetworkInterface
            - ec2:DetachNetworkInterface
            - ec2:ModifyNetworkInterfaceAttribute
            - ec2:ResetNetworkInterfaceAttribute
            - autoscaling:CompleteLifecycleAction
            - iam:CreateRole
            - iam:CreatePolicy
            - iam:AttachRolePolicy
            - iam:PassRole
            - lambda:GetFunction
            - lambda:ListFunctions
            - lambda:CreateFunction
            - lambda:DeleteFunction
            - lambda:InvokeFunction
            - lambda:GetFunctionConfiguration
            - lambda:UpdateFunctionConfiguration
            - lambda:UpdateFunctionCode
            - lambda:CreateAlias
            - lambda:UpdateAlias
            - lambda:GetAlias
            - lambda:ListAliases
            - lambda:ListVersionsByFunction
            - logs:FilterLogEvents
            - cloudwatch:GetMetricStatistics
  </code></pre>
  
  <p>How to improve the deletion time of the stack?</p>