Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to specify endpoint url in config #28

Open
StFS opened this issue Sep 23, 2015 · 5 comments
Open

Ability to specify endpoint url in config #28

StFS opened this issue Sep 23, 2015 · 5 comments

Comments

@StFS
Copy link

StFS commented Sep 23, 2015

I'm not quite sure if saws is committed to using the exact same configuration syntax as the aws-cli tools.

I reported this feature request on that a while ago:
aws/aws-cli#1270

Nothing has happened there yet but I'm hoping that saws might be more willing to incorporate this feature.

I'm copying the text from the above feature request here:

Currently I don't seem to be able to specify an endpoint URL in my profile. I always have to specify the --endpoint-url option on the command line.

I would like to be able to do something like the following (in my ~/.aws/config file):

[default]
region = us-east-1
output = json

[profile nextcode]
region = myregion-1a
output = json
endpoint-url = http://c.my.other.aws.compatable.service.com

The reason for requesting this is that we use an EC2 compatable infrastructure manager (http://www.qstack.com) which I would like to use aws-cli or saws for managing. The problem is that for aws-cli I need to specify the --endpoint-url parameter every time on the command line, which is annoying. Instead I would like to be able to put it into the profile in the configuration file.

@donnemartin
Copy link
Owner

Hi Stefán,

Thanks for the feedback request. Seems do-able, I'll put it on the TODO list.

-Donne

@StFS
Copy link
Author

StFS commented Sep 23, 2015

Awesome... thank you!

I'll see if I can find some time and do a pull request but things are a bit hectic these days.

@xavierdavidgarcia
Copy link

Any news on this feature ? Thank you

@lqueryvg
Copy link

This would be a great feature - my use case is for local testing with dynamodb-local

@mifi-cologne
Copy link

I second the request. We use Scality for S3-compatible on-prem storage. There should be a way, IMHO, to define the url of a self-hosted service in the sections of the aws config file. Hoping, by the way, that the AWS VS Code extension would also use the new setting. It's very helpfull to get an overview of buckets and prefixes there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants