Page MenuHomePhabricator

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

Authored by bartek on Jul 25 2024, 12:41 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 9, 11:08 PM
Unknown Object (File)
Sat, Nov 9, 8:31 PM
Unknown Object (File)
Sat, Nov 9, 12:41 PM
Unknown Object (File)
Thu, Nov 7, 1:22 PM
Unknown Object (File)
Thu, Nov 7, 11:17 AM
Unknown Object (File)
Thu, Nov 7, 9:20 AM
Unknown Object (File)
Thu, Nov 7, 8:42 AM
Unknown Object (File)
Oct 27 2024, 1:37 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