# rebuy-de/aws-nuke

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/rebuy-de-aws-nuke).**

5,804 stars · 718 forks · Go · MIT · archived

## Links

- GitHub: https://github.com/rebuy-de/aws-nuke
- Homepage: https://github.com/ekristen/aws-nuke
- awesome-repositories: https://awesome-repositories.com/repository/rebuy-de-aws-nuke.md

## Topics

`aws` `cli` `deprecated` `golang`

## Description

aws-nuke is an AWS account cleanup tool that scans every resource in an AWS account and removes them, leaving the account clean for reuse or decommissioning. It enumerates all resource types by iterating through service APIs and paginating results, then deletes resources in parallel using goroutines while throttling against AWS API rate limits.

The tool applies a config-file-driven filter pipeline that lets users exclude or include specific resource types, protect individual resources by matching their identifiers, and define reusable filter presets that can be applied across multiple accounts. When a resource type lacks a native deletion implementation, aws-nuke falls back to the AWS Cloud Control API to broaden coverage. It also supports running inside a Docker container with mounted configuration and credentials for isolated execution.

The project provides a Dockerized execution wrapper and supports limiting deletion to specific resource types or excluding resource types from cleanup entirely.

## Tags

### Business & Productivity Software

- [AWS Account Resource Deletions](https://awesome-repositories.com/f/business-productivity-software/financial-account-management/account-deletions/aws-account-resource-deletions.md) — Scans and removes every resource in an AWS account to reset it for reuse or decommissioning. ([source](https://cdn.jsdelivr.net/gh/rebuy-de/aws-nuke@main/README.md))

### Data & Databases

- [Cloud Resource Deletion Filters](https://awesome-repositories.com/f/data-databases/database-deletion-utilities/bulk-force-deletion/filtered-bulk-deletions/cloud-resource-deletion-filters.md) — Selectively excludes or includes specific resource types and identifiers during bulk AWS resource deletion.
- [Configurable Resource Filters](https://awesome-repositories.com/f/data-databases/database-deletion-utilities/bulk-force-deletion/filtered-bulk-deletions/configurable-resource-filters.md) — Applies configurable filter presets to protect or target specific resources during account-wide deletion.
- [Config-File-Driven Filter Pipelines](https://awesome-repositories.com/f/data-databases/result-ordering-and-limiting/file-listing-filters/pipeline-based-filters/config-file-driven-filter-pipelines.md) — Ships a config-file-driven filter pipeline that applies exclusion and inclusion rules before resource deletion.
- [Reusable Filter Definition](https://awesome-repositories.com/f/data-databases/reusable-filter-definition.md) — Defines common resource filters once and applies them across multiple AWS accounts to simplify configuration. ([source](https://cdn.jsdelivr.net/gh/rebuy-de/aws-nuke@main/README.md))

### Development Tools & Productivity

- [AWS Resource-Type Enumeration Scanners](https://awesome-repositories.com/f/development-tools-productivity/api-resource-scanning/aws-resource-type-enumeration-scanners.md) — Enumerates all AWS resource types by iterating through service APIs and paginating results for comprehensive discovery.
- [Resource Identifier Matching Protections](https://awesome-repositories.com/f/development-tools-productivity/file-pattern-matching/resource-path-matching/resource-identifier-matching-protections.md) — Protects critical resources from accidental deletion by matching their identifiers against configurable patterns.

### DevOps & Infrastructure

- [Cloud Control API Fallback Deletions](https://awesome-repositories.com/f/devops-infrastructure/cloud-resource-deletions/cloud-control-api-fallback-deletions.md) — Provides a fallback deletion mechanism via the AWS Cloud Control API for resource types lacking native support.
- [Parallel Resource Deletion Engines](https://awesome-repositories.com/f/devops-infrastructure/cloud-resource-deletions/parallel-resource-deletion-engines.md) — Implements a parallel deletion engine using goroutines with AWS API rate-limit throttling for accelerated cleanup.
- [AWS Account Cleanup Tools](https://awesome-repositories.com/f/devops-infrastructure/compliance-governance-tools/aws-governance-tools/aws-account-cleanup-tools.md) — Removes all resources from an AWS account to reset it for reuse or decommissioning.
- [Cloud Control API Cleaners](https://awesome-repositories.com/f/devops-infrastructure/cloud-infrastructure/cloud-computing-serverless/cloud-orchestration-automation/cloud-resource-api-management/cloud-control-api-cleaners.md) — Provides a fallback deletion mechanism via the AWS Cloud Control API for unsupported resource types.
- [Cloud Control API Resource Deletions](https://awesome-repositories.com/f/devops-infrastructure/cloud-resource-deletions/cloud-control-api-resource-deletions.md) — Deletes AWS resources through the Cloud Control API for broader coverage beyond native deletion support. ([source](https://cdn.jsdelivr.net/gh/rebuy-de/aws-nuke@main/README.md))
- [Cloud Control API Resource Removals](https://awesome-repositories.com/f/devops-infrastructure/cloud-resource-deletions/cloud-control-api-resource-removals.md) — Deletes AWS resources through the Cloud Control API for broader coverage beyond native deletion support.
- [Resource Protection](https://awesome-repositories.com/f/devops-infrastructure/resource-protection.md) — Prevents accidental deletion of critical resources by matching their identifiers against configurable patterns. ([source](https://cdn.jsdelivr.net/gh/rebuy-de/aws-nuke@main/README.md))

### Security & Cryptography

- [Account Cleanup](https://awesome-repositories.com/f/security-cryptography/security-auditing/configuration-audits/aws/account-cleanup.md) — Wipes all resources from an AWS account to reset it for reuse or decommissioning.
- [Resource Nukers](https://awesome-repositories.com/f/security-cryptography/security-auditing/configuration-audits/aws/resource-nukers.md) — Scans and deletes every resource in an AWS account using configurable filters and exclusions.

### System Administration & Monitoring

- [Resource Type Exclusion Filters](https://awesome-repositories.com/f/system-administration-monitoring/automatic-framework-instrumentation/kubernetes-resource-metric-collectors/resource-type-filters/resource-type-exclusion-filters.md) — Allows users to exclude specific resource types from cleanup using flags or configuration file entries. ([source](https://cdn.jsdelivr.net/gh/rebuy-de/aws-nuke@main/README.md))
- [Resource Type Inclusion Filters](https://awesome-repositories.com/f/system-administration-monitoring/automatic-framework-instrumentation/kubernetes-resource-metric-collectors/resource-type-filters/resource-type-inclusion-filters.md) — Limits deletion to only the resource types specified with a target flag, ignoring all others. ([source](https://cdn.jsdelivr.net/gh/rebuy-de/aws-nuke@main/README.md))
