gruntwork-io/cloud-nuke

ERROR: cloud not delete security-group

Closed this issue · 2 comments

Description

If have chained-security-group in Vpc and trying to delete vpc resource, occur error like below.

As you can see, It can not delete security-group because of dependency about ingress or egress rule.

[cloud-nuke] time="2022-06-16T13:17:36+00:00" level=error msg="Error cleaning up Security Groups for VPC vpc-0c3de26377ef0403c: DependencyViolation: resource sg-07e70ed691d14d9aa has a dependent object\n\tstatus code: 400, request id: 9c78adc5-bf08-4d84-a795-a2a4f5c7eee9"
[cloud-nuke] time="2022-06-16T13:17:36+00:00" level=error msg="[Failed] DependencyViolation: resource sg-07e70ed691d14d9aa has a dependent object\n\tstatus code: 400, request id: 9c78adc5-bf08-4d84-a795-a2a4f5c7eee9"

Bump, this is an important fix.