awslabs / aws-shell

An integrated shell for working with the AWS CLI.
Apache License 2.0
7.15k stars 769 forks source link

Configuring endpoint for "aws support" #243

Open atsalolikhin-spokeo opened 3 years ago

atsalolikhin-spokeo commented 3 years ago

Hi! aws-shell looks great!

I have another region as my default region, but "aws support" only has an endpoint in us-east-1. So I have to run it with --region us-east-1 or else it doesn't work:

[~] $ aws-shell
aws> support describe-cases

Could not connect to the endpoint URL: "https://support.[redacted].amazonaws.com/"
aws>

It would be nice if I could configure aws-shell to use the sole available end-point for the service without changing my default region.

Best, Aleksey