← Package directory
Available on winget

Install cloud-nuke

cloud-nuke was created for situations when you might have an account you use for testing and need to clean up leftover resources so you're not charged for them

Install with winget
winget install --id Gruntwork.cloud-nuke
Upgrade
winget upgrade --id Gruntwork.cloud-nuke
Uninstall
winget uninstall --id Gruntwork.cloud-nuke

About cloud-nuke

cloud-nuke was created for situations when you might have an account you use for testing and need to clean up leftover resources so you're not charged for them

What's new in 0.50.0

Fixes - IPAM custom-allocation: scope state per instance. The pool/CIDR metadata captured at list time lived in a package-level global and was reset by every region's InitClient, wiping data needed at deletion time. Multi-region runs hit unable to find pool allocation info for ipam-pool-alloc-.... Regression from #992. State is now closure-scoped per resource instance, so each region's metadata is isolated. (#1130) - ECS cluster: deregister container instances before delete. EC2-launch-type clusters with registered instances failed with ClusterContainsContainerInstancesException. The nuker now lists container instances and force-deregisters them as a step before DeleteCluster. (#1131) - Network interface: classify 'currently in use' as a warning. InvalidParameterValue: Network interface 'eni-...' is currently in use is treated like the existing DependencyViolation ordering errors, non-fatal and resolved on the next run once the attaching resource is gone. (#1132) Full Changelog: v0.49.0...v0.50.0

Read release notes

Version history

Version Updated Notes
0.50.0 Unknown Fixes - IPAM custom-allocation: scope state per instance. The pool/CIDR metadata captured at list time lived in a package-level global and was reset by every region's InitClient, wiping data needed at deletion time. Mult...
0.49.0 Unknown What's Changed New Resources - feat: add ResourceShares support by @ehmanel in #1092 - feat: add support for Amazon MQ broker resources by @james00012 in #1116 - feat: add rds-cluster-snapshot resource type by @james0001...
0.48.0 Unknown What's Changed New Features - feat(aws): add SSM Parameter Store resource by @Amit2465 in #1069 Bug Fixes - fix: classify CloudTrail and Data Pipeline transient errors as warnings by @james00012 in #1074 - fix: deduplica...
0.46.0 Unknown What's Changed - docs: update README to reflect tag support for ECS services and launch templates by @james00012 in #945 - refactor: reorganize commands directory for better code organization by @james00012 in #958 - fix...
0.45.0 Unknown What's Changed - fix(apigatewayv2): pass tags to filtering logic to enable tag-based filtering by @james00012 in #954 - fix: resolve KMS key filtering issues by @james00012 in #951 - fix: detect and delete RDS clusters/i...
0.44.0 Unknown What's Changed - fix(cloudmap): add-cloudmap-to-readme by @ErezWeiss in #938 - feat: Add tag support for ECS services and fix tag support for EC2 launch templates by @james00012 in #942 - fix(cloudtrail): add-tags-suppor...
0.43.0 Unknown What's Changed - fix(ekscluster): filtering for tags is omitted by @roehrijn in #899 - fix(vpc): handle errors from DescribeVpcEndpoints in EC2 VPC endpoint by @monodot in #903 - fix: handle nil output from DescribeResou...
0.42.0 Unknown What's Changed - exclude internet-gateway for configtests by @gcagle3 in #878 - Improve the tags filtering logic by @james03160927 in #877 - Extend to support GCP nuking operations by @james03160927 in #879 - Bump golang...
0.41.0 Unknown What's Changed - Added new resource - SageMaker Endpoint by @ChildishGirl in #856 - Start nuking global resources as part of circleCi automated nuking operation by @james03160927 in #857 - Revert "Start nuking global res...
0.40.0 Unknown What's Changed - add aws iam instance profile by @james03160927 in #853 - disable deletion protection by @james03160927 in #855 Full Changelog: v0.38.3...v0.40.0
0.38.2 Unknown What's Changed - fix for #825 assignment to nil map in TG. by @wakeful in #827 - bump AWS SDK package to address non-refreshing credentials issue by @wakeful in #830 Full Changelog: v0.38.1...v0.38.2
0.35.0 Unknown No notes
0.34.0 Unknown Release notes