Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR updates awsulti deps
The AWS SDK use to attempt load the default profile and ignore a not exist error, regardless of the
SharedConfigProfile
option being provided.However between
v1.18.33
and now the SDK no longer does this, if a profile is explicitly set via theSharedConfigProfile
option or an env var, it will fail if the profile does not exist, even if this profile isdefault
. See https://github.com/aws/aws-sdk-go-v2/blob/main/config/config.go#L216. It will however still attempt to load thedefault
profile without being prompted to do so.The change to
go-secure-stdlib
here means that when callingGenerateCredentialChain
if the caller does not provide a profile, and they are loading the 'default' profile we will no longer populate Profile field in the go-secure-stdlib CredentialConfig. However it should be said the previously we would set theProfile
filed todefault
even if thedefault
profile was not used and does not exist.