-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Switch to AWS endpoint resolution v2
The v2 AWS SDK introduces a new endpoint resolution mechanism where custom endpoints are specified on a per-service basis, while the previous global mechanism is deprecated. This changeset switches to the newer mechanism. The default resolver under the new mechanism uses the base endpoint in a service client's `Options` as the means to customize endpoints, so it's enough for tests to make sure the base endpoint gets set. Under the previous mechanism, the CHAMBER_AWS_SSM_ENDPOINT environment variable was used to customize not just the endpoint for SSM, but also for Secrets Manager. This changeset deprecates the latter use in favor of a new CHAMBER_AWS_SECRETS_MANAGER_ENDPOINT environment variable. There seems to also be SDK-native ways to use the environment for endpoint customization, so this whole thing might go away at some point.
- Loading branch information
Showing
6 changed files
with
49 additions
and
30 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
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
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
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
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
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