Skip to content

Commit

Permalink
Fix a typo in AWS_CONFIG_FILE (was AWS_CONFIG_File)
Browse files Browse the repository at this point in the history
  • Loading branch information
kfigiela authored and endgame committed Sep 18, 2024
1 parent 4873cc4 commit f298d97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/amazonka/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
- New package `amazonka-dynamodb-attributevalue`: `amazonka-dynamodb`and `amazonka-dynamodb-streams` now share a common `AttributeValue` type, removing the need to manually convert between them. Each SDK re-exports it, so no code changes should be necessary, but manual conversion between the "regular" and "streams" `AttributeValue` can be removed. (thanks @dalpd)
[\#992](https://github.com/brendanhay/amazonka/pull/992)
- `amazonka`: Add support for `AWS_SHARED_CREDENTIALS_FILE` and `AWS_CONFIG_FILE` environment variables to override the
default paths `$HOME/.aws/credentials` and `$HOME/.aws/config` [\#951](https://github.com/brendanhay/amazonka/pull/951)
default paths `$HOME/.aws/credentials` and `$HOME/.aws/config` [\#951](https://github.com/brendanhay/amazonka/pull/951). The typo in `AWS_CONFIG_FILE` was fixed in [\#1007](https://github.com/brendanhay/amazonka/pull/1007).

### Fixed

Expand Down
2 changes: 1 addition & 1 deletion lib/amazonka/src/Amazonka/Auth/ConfigFile.hs
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ fromFileEnv ::
fromFileEnv env = liftIO $ do
profile <- Environment.lookupEnv "AWS_PROFILE" <&> maybe "default" Text.pack
conf <-
Environment.lookupEnv "AWS_CONFIG_File"
Environment.lookupEnv "AWS_CONFIG_FILE"
>>= maybe (configPathRelative "/.aws/config") pure
cred <-
Environment.lookupEnv "AWS_SHARED_CREDENTIALS_FILE"
Expand Down

0 comments on commit f298d97

Please sign in to comment.