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

Consider environment variables the AWS CLI considers #175

Merged
merged 1 commit into from
Jun 25, 2018

Conversation

RomainMuller
Copy link
Contributor

The AWS CLI considers AWS_DEFAULT_PROFILE and AWS_DEFAULT_REGION
when creating default clients, however the AWS SDK for JS only considers
AWS_PROFILE and AWS_REGION. This aims to align the behavior of both
ways by automatically setting AWS_PROFILE and AWS_REGION from the
matching AWS_DEFAULT_ variable (unless the variables were already set)

See #131

The AWS CLI considers `AWS_DEFAULT_PROFILE` and `AWS_DEFAULT_REGION`
when creating default clients, however the AWS SDK for JS only considers
`AWS_PROFILE` and `AWS_REGION`. This aims to align the behavior of both
ways by automatically setting `AWS_PROFILE` and `AWS_REGION` from the
matching `AWS_DEFAULT_` variable (unless the variables were already set)

See #131
@RomainMuller RomainMuller merged commit 2059899 into master Jun 25, 2018
@RomainMuller RomainMuller deleted the rmuller/default-env branch June 25, 2018 21:22
@NGL321 NGL321 added the contribution/core This is a PR that came from AWS. label Sep 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution/core This is a PR that came from AWS.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants