Skip to content

feat: Deprovision the s3 buckets of specific archived ocim instances

Johannes Degn requested to merge joidegn/deprovision-s3-buckets into master

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.

SE-4912

Supporting information

Forum post

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

Merge request reports