aws / amazon-genomics-cli

https://aws.github.io/amazon-genomics-cli/
Apache License 2.0
146 stars 82 forks source link

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

Open m3talsmith opened 8 months ago

m3talsmith commented 8 months ago

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 8 months ago

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