← 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.52.0

Features - Parallel scanning and nuking. Resource discovery and deletion now run concurrently, controlled by a new --parallelism flag (default 10). Regions and resource types are scanned under a single global concurrency cap, and regional resources are nuked concurrently while global resources (IAM, Route53, CloudFront) are deleted last. Within-region dependency order is preserved. (#1144, #1148) Fixes - Service-linked roles that delete quickly. When AWS purges the deletion-task record before the status poll (a NoSuchEntity response), the role is now verified via GetRole and treated as deleted instead of erroring. (#1147) Migration note - Library consumers: aws.NukeAllResources and gcp.NukeAllResources now take an additional parallelism int parameter. Full Changelog: v0.51.0...v0.52.0

Read release notes

Version history

Version Updated Notes
0.52.0 Unknown Features - Parallel scanning and nuking. Resource discovery and deletion now run concurrently, controlled by a new --parallelism flag (default 10). Regions and resource types are scanned under a single global concurrency...
0.51.0 Unknown Features - BackupPlan support. New backup-plan resource type so AWS Backup plans are nuked. (#1138) - --dry-run for defaults-aws. Preview which default VPCs and security group rules would be deleted before running for re...
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