foe70 / anf-auto-deleter

Delete all of your capacity pools which you created for test purpose, in case you want to delete them all for saving money :D

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Purpose of this script

Delete all of your capacity pools which you created for test purpose, in case you want to delete them all for saving money :D

How to run the script

  1. Clone it locally
    git clone https://github.com/foe70/anf-auto-deleter.git
  2. Change folder to .\anf-auto-deleter\src
  3. Install any missing dependencies as needed
    pip install -r ./requirements.txt
  4. Make sure you have the azureauth.json and its environment variable with the path to it defined (as previously described at prerequisites)
  5. Edit configuration file .\anf-auto-deleter\conf and change the variables contents as appropriate.
  6. Run the script
    python ./deleter.py

References

About

Delete all of your capacity pools which you created for test purpose, in case you want to delete them all for saving money :D

License:MIT License


Languages

Language:Python 100.0%