chef-boneyard / chef-provisioning-aws

AWS driver and resources for Chef that uses the AWS SDK
Apache License 2.0
142 stars 121 forks source link

Fixed the credentials file environment variable name. #522

Closed msonnabaum closed 7 years ago

msonnabaum commented 7 years ago

The AWS_CREDENTIAL_FILE environment variable isn't the right variable to load a custom path to a credentials file. The correct variable is AWS_SHARED_CREDENTIALS_FILE.

See the discussion here for more background: https://github.com/aws/aws-cli/issues/1037

I retained support for AWS_CREDENTIAL_FILE so that this doesn't introduce a backwards incompatible change.

tyler-ball commented 7 years ago

Hey @msonnabaum this fix looks great! If you can sign the DCO I'll go ahead and get it merged.

msonnabaum commented 7 years ago

Done