cloud-nuke

Gruntwork·Gruntwork.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

winget install --id Gruntwork.cloud-nuke --exact --source winget

Latest 0.53.0·October 20, 2026

Release Notes

Fixes

• API Gateway:cloud-nuke removes custom domain name mappings before deleting an API. Since v0.47.0, every run failed to delete an HTTP or WebSocket API with an API mapping, or a REST API with a base path mapping. The delete failed with BadRequestException: ... Please remove all API mappings for the API from your custom domain names. Mappings on private custom domain names are removed too. (#1166) • KMS:include and exclude rules match the bare alias name. Aliases carry an alias/ prefix, so a rule such as ^my-key$ matched nothing, and an exclude rule written that way let the key be deleted. Rules now match the name with or without alias/, and a key is protected if any of its aliases matches an exclude rule. (#1162) • S3:--region global deletes buckets in every region. Buckets outside the global region (us-east-1 by default) were skipped after a 301 PermanentRedirect, and the run still reported nothing to nuke. (#1157) • CloudWatch log groups are deleted again. The log group ARN's trailing :* made ListTagsForResource fail, so every log group was skipped. (#1151) • EC2 subnets:--older-than works again. cloud-nuke stopped writing the tag that records when it first saw a subnet, which --older-than reads to age the subnet, so --older-than excluded every subnet. (#1154) • VPC Lattice service networks:cloud-nuke removes VPC and resource associations first. Deletion failed with a 409 ConflictException while either kind of association remained. (#1158, #1159) • Service-linked roles:a role IAM still lists right after its deletion no longer counts as a failure. cloud-nuke keeps waiting for IAM to catch up instead of reporting the role as failed. (#1149)

Migration note

• A run can delete more than it did before: each fix above deletes resources that earlier versions skipped or failed to delete. • KMS include rules written against a bare alias name now select keys for deletion: such a rule matched nothing before. (#1162) • S3 buckets in every region are deleted under --region global: before, only buckets in the global region were. (#1157) • A policy that limits cloud-nuke's API Gateway access needs more permissions: apigateway:GET on /domainnames, /domainnames/*/apimappings and /domainnames/*/basepathmappings, and apigateway:DELETE on those mappings. (#1166)

Full Changelog:https://github.com/gruntwork-io/cloud-nuke/compare/v0.52.0...v0.53.0

Installer type: portable

x86—2ABB21D58B09CBA4A4C91D7F67E38D7D2EB49E52A52A482D9253EFD776F0BB58
x64—B9A91BC5B8C710916A82B359623934C3535113F798E93481A67F125C83DD8269

Details

Homepage
https://github.com/gruntwork-io/cloud-nuke
License
MIT
Publisher
Gruntwork
Support
https://github.com/gruntwork-io/cloud-nuke/issues
Copyright
Copyright (c) 2020, Gruntwork, Inc.
Moniker
cloud-nuke

Older versions (15)

0.52.0
x86—3E26F84943BE4BC29CA7F0D34726CCAF968B786383887203AA853D0DEA83F0E3
x64—71A83E147402B0324CBA8B8C1D1FBCC34BAC038EE0D7283D16754C47A9409161
0.51.0
x86—A9E8C40D26640FCBB2117BFED56A549944965D4D50040831EF666D7941F37049
x64—2DD7AF0D4DC972A4B1200F9D75C6BFA89A1292C591E3681F5928462C9733CF29
0.50.0
x86—048269533BBEC2A82DC40BAFDB0B675E4C2A7455159B8303127A4D632ECBF317
x64—93975E45E3F7CE565BDE762F898F1F73F33B75B5518A8251A1EE00DA5CE385A7
0.49.0
x86—80FCF1C3BD66C31E26B408063D0D14866E36CBAE6543183F6DE7D28B469EAA3B
x64—40DAA75B2DF03599A6BD18F0690A24B0BEAD97CBA6DBA43262FBD44229A61C60
0.48.0
x86—BF7F9FDB490FD5AD2EF41D5379F6E74F76EC9918C8FD557E98BA950CA96F7152
x64—0714243BA26F1F74830C46F86814BEAC9BA0DE29E9A8F41F4D6702E5881D1B56
0.46.0
x86—F4688825EA0DCDD5242E77F245053B40FBFEC1DF8D397A7FF0718ECA62547386
x64—D585CCFD198A60A59D649FB65B3146A5B50A6CF0AB69775CB64C61E1F6217830
0.45.0
x86—C2EA6BCDF1F4C297E56BDBDA4CDB0075435FF015C5BD06B32D351DAAFEA9E200
x64—5078A760A1D7904F1EC6F0374B4626386E8DA6406CAB179F7B32EF782286F359
0.44.0
x86—297CC27D3D2A5A7DB1E37744F948D27AD089ECC6D2C994C01880CF10047EBA18
x64—B6266BC9C2FF404DA06C5157803269044E09015DBAEF58CBDA2096F800A715BA
0.43.0
x86—8AEE3CD8870829CCC590A9DA04ACF17A562E11960F4E4172CC0F66E46BD7C6B4
x64—D4BE5C9A732918BD01CE3B4C70DD4C20D001FE8553371BF59ABB631F1D74254F
0.42.0
x86—AF498A3414212AEC2467AB3164CB1530ACC71E119187C3D3C215DCA83D9DF4EF
x64—D05FF58F4EB9D0BC6CB125B0AFCC1FE15BE7CA0B5357B13020B1208FDFD7A0F3
0.41.0
x86—FA6D56766E9D3ADA1FB42E677D394C7FCC43C95BAF2270E98A36C08A1191CA53
x64—D102FB56B2F65C0FC0B1F2F770EDD8CD6E89846EBB257AD9368AD90F84ACBF57
0.40.0
x86—4113A86871F54B002C0B8757E066B4652F85F08DCCE8A8392FD8840CF1AD3EF7
x64—2C7C40D53FF85439FB969B4DE88907CEB4D5D0382EB5FD84812D45753D5BDF7A
0.38.2
x86—A93197FC8A42EB60ADFE216116AEBE88D35B4A76A7D64CBC147CAFEADC6FD6B6
x64—037FA1E15DA90EFC463F2A68BC6FE4A7AFC1D9B938C9BD45524A50AE03FB4AFA
0.35.0
x64—6D2B269DF0A15EF0FFB916E187552B0C2917408B4BF12E7BD4EEACC2998E16AD
x86—27785FC9070976B694C67B575755C6B370A46B8CE90AD84768F533604EB8D056
0.34.0
x64—DB6ACD74E2BF36F6DA9C2730AEE6D7A9FDBFA7D3C73407A583F4ED9D4D58ED13
x86—49CFC1B37FF63D8CD79353D7AF76B8786AAEAF10BC8AAFB8A190BE95D1353CEA