Skip to content

Commit

Permalink
chore(cloudwatchlogs-loggroup): add depends on for EC2VPC (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekristen authored Jan 25, 2024
1 parent 51f6aef commit fcb74ea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions resources/cloudwatchlogs-loggroups.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ func init() {
Name: CloudWatchLogsLogGroupResource,
Scope: nuke.Account,
Lister: &CloudWatchLogsLogGroupLister{},
DependsOn: []string{
EC2VPCResource, // Reason: flow logs, if log group is cleaned before vpc, vpc can write more flow logs
},
})
}

Expand Down

0 comments on commit fcb74ea

Please sign in to comment.