Skip to content

Conversation

dscpinheiro
Copy link
Contributor

Fixes #4028

Motivation and Context

Fixes a regression in V4 where the credentials resolver was not handling the scenario where: The Profile property in the ClientConfig object was set, but without a value in non-local environments (causing an AmazonClientException to be thrown when running on an EC2 instance).

Testing

Dry-run: DRY_RUN-8d688ddb-21af-49aa-b2d4-5c3888e18cc4 (in progress)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • My code follows the code style of this project
  • I have added tests to cover my changes
  • All new and existing tests passed

License

  • I confirm that this pull request can be released under the Apache 2 license

@dscpinheiro dscpinheiro marked this pull request as ready for review October 9, 2025 14:31
@dscpinheiro dscpinheiro merged commit 396c5ef into development Oct 9, 2025
3 checks passed
@dscpinheiro dscpinheiro deleted the dspin/gh-4028 branch October 9, 2025 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Service constructors with significantly neutered production behavior should have been removed and replaced

3 participants