Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Switch to AWS endpoint resolution v2 #517

Merged
merged 2 commits into from
Jun 11, 2024
Merged

Commits on Jun 10, 2024

  1. 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.
    bhavanki committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    5b37a6a View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2024

  1. Configuration menu
    Copy the full SHA
    f0556e3 View commit details
    Browse the repository at this point in the history