Skip to content

region set in profile in $HOME/.aws/config is ignored #3305

Closed as not planned
@olfek

Description

@olfek

Describe the bug

region set in profile in $HOME/.aws/config IS NOT loaded in.

Expected Behavior

region set in profile in $HOME/.aws/config IS loaded in.

Current Behavior

region set in profile, in $HOME/.aws/config
loaded into Amazon.Runtime.CredentialManagement.CredentialProfile.Region
IS NOT CONSIDERED in Amazon.Runtime.ClientConfig.get_RegionEndpoint.

Reproduction Steps

N/A

Possible Solution

region set in profile, in $HOME/.aws/config
loaded into Amazon.Runtime.CredentialManagement.CredentialProfile.Region
SHOULD BE CONSIDERED in Amazon.Runtime.ClientConfig.get_RegionEndpoint.

Just like how:

endpoint_url set in profile, in $HOME/.aws/config
loaded into Amazon.Runtime.CredentialManagement.CredentialProfile.EndpointUrl
IS CONSIDERED in Amazon.Runtime.ClientConfig.get_ServiceURL.

Additional Information/Context

N/A

AWS .NET SDK and/or Package version used

3.7.30X.XX

Targeted .NET Platform

.NET 7

Operating System and version

Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.closing-soonThis issue will automatically close in 4 days unless further comments are made.credentialsresponse-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 7 days.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions