Skip to content

aws: Use session.NewSession() instead of deprecated session.New() #206

Open
elprans wants to merge 3 commits intohashicorp:masterfrom
geldata:master
Open

aws: Use session.NewSession() instead of deprecated session.New() #206
elprans wants to merge 3 commits intohashicorp:masterfrom
geldata:master

Conversation

@elprans
Copy link
Copy Markdown

@elprans elprans commented Dec 2, 2022

session.New() has long been deprecated and does not allow for proper support of using environment variables for configuration. This precludes configuring the global behavior of AWS clients via environment, e.g. things like AWS_USE_DUALSTACK_ENDPOINT.

@hashicorp-cla
Copy link
Copy Markdown

hashicorp-cla commented Dec 2, 2022

CLA assistant check
All committers have signed the CLA.

@elprans elprans changed the title aws: Use session.NewSession() instead of deprecated session.New() aws: Use session.NewSession() instead of deprecated session.New() Dec 2, 2022
@elprans elprans force-pushed the master branch 2 times, most recently from df6f402 to d086882 Compare December 2, 2022 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants