aws / aws-dotnet-extensions-configuration

This repository hosts various libraries that help developers configure .NET applications using AWS services.

Home Page:https://aws.amazon.com/developer/language/net/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does this library support pulling in AWS region from the default profile?

mitchogaard opened this issue · comments

Just as the title asks, does this library support pulling in AWS region from the default profile?

I have the default AWS profile set up on my machine for my user (via .aws/config file) and this library did not seem to recognize that my region was configured there. I ended up having to add configuration for it in my appsettings.json file--which isn't ideal.

Thanks in advance.

There is an open issue about this on the AWS .Net SDK project: aws/aws-sdk-net#1349

Hi @mitchogaard, thank you for bringing more attention to this. I do think it is a bug related to aws/aws-sdk-net#1349, but it looks like the suggestion there to use [profile default] still won't help because there is extra logic to exclude setting the RegionEndpoint if not defined in the AWSOptions. I'll follow up again with the team to discuss if we can address this without breaking others.

This is an issue for my group as well.

Hey @mitchogaard / @whoiskevinrich,

We have pushed several updates since last comment. Are you still experiencing this issue with the latest SDK using the default profile?

😸 😷

This issue has not recieved a response in 2 weeks. If you want to keep this issue open, please just leave a comment below and auto-close will be canceled.