aws/amazon-genomics-cli

Provided region_name ... doesn't match a supported format

m3talsmith opened this issue · 1 comments

Describe the Bug

Following the guide for installation, downloading the zip via aws s3api get-object --bucket healthai-public-assets-us-east-1 --key amazon-genomics-cli/nightly-build/amazon-genomics-cli.zip amazon-genomics-cli.zip, fails with Provided region_name 'SAoWDrfMgfLVXbjJxzSsV/aSfbWHL2cE4/Hlvcgg' doesn't match a supported format.

Failure to get the nightly zip from the bucket due to some formatting issue.

Steps to Reproduce

  1. Install the aws cli
  2. Configure the aws cli
  3. aws s3api get-object --bucket healthai-public-assets-us-east-1 --key amazon-genomics-cli/nightly-build/amazon-genomics-cli.zip amazon-genomics-cli.zip

Relevant Logs

Expected Behavior

I expected a zip that I could decompress for the genomics cli usage.

Actual Behavior

Screenshots

Additional Context

Operating System: Mac OS 14.0 Apple M1
AGC Version: NA
Was AGC setup with a custom bucket: No
Was AGC setup with a custom VPC: No

a-li commented

I just tried and it works for me. I suspect the AWS_REGION was accidentally set wrong in the local configs.

Could you try specifying a valid region as part of the cli command like this: aws s3api get-object --region us-east-1 --bucket healthai-public-assets-us-east-1 --key amazon-genomics-cli/nightly-build/amazon-genomics-cli.zip amazon-genomics-cli.zip