pandastrike / huxley

API and CLI for Docker Deployment
9 stars 1 forks source link

Import AWS configuration from .aws/credentials when possible #51

Open dyoder opened 9 years ago

dyoder commented 9 years ago

Reference docs:

http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html

PandaWhisperer commented 9 years ago

aws-sdk automatically reads that file, if it exists. Modifying the global AWS.config object overrides those settings.

The kick server currently overrides this with information found in its configuration file. This can be easily changed, however, we would need to synchronize that with updating panda-cluster, which produces the configuration for panda-kick. Instead of building a single kick.cson file, it would have to build two files and scp them onto the kick server.

It's not a big deal, but worth keeping track of.

I can't comment on other modules at the moment.

freeformflow commented 9 years ago

I believe Dan is referring to how the Huxley CLI gathers the user's AWS credentials. Right now, it doesn't and requires a manual entry into the global huxley dotfile. I believe his intention is to provide automation to the user where possible.