Skip to content

Commit 4e0c69b

Browse files
committed
chore(cloudwatchlogs-loggroup): add depends on for EC2VPC (#34)
1 parent b869a09 commit 4e0c69b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

resources/cloudwatchlogs-loggroups.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ func init() {
2222
Name: CloudWatchLogsLogGroupResource,
2323
Scope: nuke.Account,
2424
Lister: &CloudWatchLogsLogGroupLister{},
25+
DependsOn: []string{
26+
EC2VPCResource, // Reason: flow logs, if log group is cleaned before vpc, vpc can write more flow logs
27+
},
2528
})
2629
}
2730

0 commit comments

Comments
 (0)