-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Output of aws-sso version:
AWS SSO CLI Version 2.1.0 -- Copyright 2021-2025 Aaron Turner
Homebrew (2.1.0) built at 2025-09-03T16:29:13Z
Describe the bug:
Running aws-sso-profile, which is backed by aws-sso eval -p, before running some dotnet integration tests, which subsequently fail because the AWS_REGION env var is not defined and only that env var is checked by the dotnet sdk.
According to aws/aws-sdk-net#2589 (comment) this is not planned and the reference to support by AWS SDKs and tools shows various expectations. For that reason I think aws-sso should set both AWS_REGION and AWS_DEFAULT_REGION so that it works for all sdks/tools.
To Reproduce:
aws-sso-profile dev:admin
aws s3 ls # succeeds due to searching for both env vars, falling back to `AWS_DEFAULT_REGION`
dotnet test ... # fails due to only searching for `AWS_REGION` env var, which is not definedExpected behavior:
All sdks/tools should work after running aws-sso-profile, without needing extra steps to set other env vars.
Desktop (please complete the following information):
- OS: Windows 11 (WSL)
- Version: 10.0.26100.6584
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request