-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
release: set AWS_SDK_LOAD_CONFIG for system services
The AWS SDK for Go doesn't use the ${HOME}/.aws/config file unless the AWS_SDK_LOAD_CONFIG env variable is set to a truthy value Signed-off-by: Arnaldo Garcia Rincon <agarrcia@amazon.com>
- Loading branch information
1 parent
da6e9c5
commit 7cd4cd2
Showing
2 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[Service] | ||
# Set the AWS_SDK_LOAD_CONFIG system-wide instead of at the individual service | ||
# level, to make sure new system services that use the AWS SDK for Go read the | ||
# shared AWS config | ||
Environment=AWS_SDK_LOAD_CONFIG=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters