From fd1ec7daca16bc88cdaf7b4f3eb1645680eb3241 Mon Sep 17 00:00:00 2001 From: jaamarks Date: Fri, 12 Jul 2024 18:59:44 -0400 Subject: [PATCH] Add details about hardcoded rti-cromwell-output bucket --- archive_and_delete_from_s3/v1.1.0/glacierize.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/archive_and_delete_from_s3/v1.1.0/glacierize.py b/archive_and_delete_from_s3/v1.1.0/glacierize.py index ff618e8..2863393 100644 --- a/archive_and_delete_from_s3/v1.1.0/glacierize.py +++ b/archive_and_delete_from_s3/v1.1.0/glacierize.py @@ -43,8 +43,9 @@ @app.command() def main( - bucket_name: str = typer.Option(..., "--bucket-name", "-b", help="The name of the S3 bucket that contains the objects."), + bucket_name: str = typer.Option(..., "--bucket-name", "-b", help="The name of the S3 bucket containing the objects. **Currently hardcoded as `rti-cromwell-output` for safety reasons.** This feature is under development and cannot be used with other buckets at this time.") prefix: str = typer.Option(..., "--prefix", "-p", help="The name of the S3 folder (excluding the bucket name) to archive and delete recursively."), + aws_access_key: str = typer.Option(..., "--aws-access-key", "-a", help="AWS access key ID"), aws_secret_access_key: str = typer.Option(..., "--aws-secret-access-key", "-s", help="AWS secret access key"), days_to_archive: int = typer.Option(180, "--days-to-archive", help="The number of days before moving the object to Intelligent-Tiering storage (default: 180)."),