Skip to content

ekristen/azure-nuke

Repository files navigation

azure-nuke

license release Go Report Card Maintainability

This is potentially very destructive! Use at your own risk!

v1 (beta) is out

Please test, get started right now.

brew install ekristen/tap/azure-nuke@1

Or grab from the beta releases

Supported OS/Architectures

  • Darwin AMD64/ARM64
  • Linux AMD64/ARM64/ARM
  • Windows AMD64

Overview

Remove all resources from an Azure Tenant and it's Subscriptions.

azure-nuke is stable, but it is likely that not all Azure resources are covered by it. Be encouraged to add missing resources and create a Pull Request or to create an Issue.

Documentation

All documentation is in the docs/ directory and is built using Material for Mkdocs.

It is hosted at https://ekristen.github.io/azure-nuke/.

History

This was originally put together by taking various components of rebuy-de/aws-nuke and rewriting them to work with Azure. I forked the original aws-nuke after attempting to make contributions and respond to issues to learn that the current maintainers only have time to work on the project about once a month and while receptive to bringing in other people to help maintain, made it clear it would take time. Considering the feedback cycle was already weeks on initial communications, I had to make the hard decision to fork and maintain it.

I then decided in December 2023 to write libnuke so that I could rewrite my fork of aws-nuke to use it and then allow rewriting azure-nuke and gcp-nuke to use it as well.

libnuke

I also needed a version of this tool for Azure and GCP, and initially I just copied and altered the code I needed for Azure, but I didn't want to have to maintain multiple copies of the same code, so I decided to create libnuke to abstract all the code that was common between the two tools and write proper unit tests for it.

Attribution, License, and Copyright

The rewrite of this tool to use libnuke would not have been possible without the hard work that came before me on the original tool by the team and contributors over at rebuy-de and their original work on rebuy-de/aws-nuke.

This tool is licensed under the MIT license. See the LICENSE file for more information. The bulk of this tool was rewritten to use libnuke which was in part originally sourced from rebuy-de/aws-nuke.