Skip to content

flujan/OCI-SuperDelete

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OCI-SuperDelete

Delete all OCI resources in a compartment

WORK_IN_PROGRESS

This script is still being worked on, not all OCI resources have been added yet. Currently supported:

  • Compute resources
  • Database and Autonomous Database resources
  • Edge Services
  • File Storage services
  • Tag Namespaces
  • Block Storage
  • Resource Manager Stacks
  • VCN resources
  • Autoscaling policies
  • Notifications
  • Alarms
  • Applications and Functions

Purpose

The purpose of this script is to remove all resources from a compartment, including subcompartments. In OCI you can only remove a compartment when it contains no more resources, but it can be a challenge to find all the resources tied to a compartment.

This script will hunt for all resources in a compartment and delete/terminate/retire them.

Contributors (Thank you!!!)

Disclaimer

This is a personal repository. Any code, views or opinions represented here are personal and belong solely to me and do not represent those of people, institutions or organizations that I may or may not be associated with in professional or personal capacity, unless explicitly stated.

About

Delete all OCI resources in a compartment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%