feat: Deprovision the s3 buckets of specific archived ocim instances
Description
Provide a management command to deprovision S3 buckets. Can either be run without arguments and it will deprovision S3 buckets of sandbox instances or can be run with a space separated list of instance_ref_ids which limits the operation to these ids but it checks first if the instances have been archived more than 3 months ago.
Supporting information
Testing instructions
-
Create instance with S3 bucket, archive instance and run management task with instance_ref_ids set -
Run management command without argument to deprovision S3 buckets of sandbox instances. Confirm successfully deprovisioned buckets from logs.
Deadline
Before buckets run out