Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 787 Bytes

README.md

File metadata and controls

24 lines (19 loc) · 787 Bytes

AWS tools

Prerequisites

The following arguments variables are required as environment variables or in AWS config files:

  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • AWS_REGION
export AWS_SECRET_ACCESS_KEY=<value>
export AWS_ACCESS_KEY_ID=< value>
export AWS_REGION=<value>

Delete S3 velero bucket

This script deletes a bucket associated with a cluster after the cluster is uninstalled.

  • The script will delete the velero bucket that is mapped to a cluster.

Use poetry run python aws/delete_s3_velero_bucket.py to execute the code.

poetry run python aws/delete_s3_velero_bucket.py --help
poetry run python aws/delete_s3_velero_bucket.py  --cluster-name <cluster_name>