Page MenuHomePhabricator

[services] Replace deprecated aws_config::from_env()
ClosedPublic

Authored by bartek on Jul 25 2024, 12:41 AM.
Tags
None
Referenced Files
F2997796: D12880.id42801.diff
Thu, Oct 17, 7:14 PM
Unknown Object (File)
Fri, Oct 11, 10:15 PM
Unknown Object (File)
Fri, Oct 11, 9:09 PM
Unknown Object (File)
Sun, Sep 29, 11:23 PM
Unknown Object (File)
Sat, Sep 28, 11:15 AM
Unknown Object (File)
Fri, Sep 27, 1:56 AM
Unknown Object (File)
Wed, Sep 25, 5:15 PM
Unknown Object (File)
Wed, Sep 25, 5:15 PM
Subscribers

Details

Summary

The aws_config::from_env() was deprecated in favor of defaults() which accepts a BehaviorVersion param.
I set the behavior explicitly to the latest available. We could also use latest() but I wanted to avoid it in case of breaking changes.

Depends on D12879

Test Plan

Made sure that services talk to localstack

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable