Describe the bug
The region flag passed into the call does not affect the STS call (at least for cn-north-1)
To Reproduce
- Set up aws credentials without config
- Try to publish a component to account in cn-north-1 using
gdk component publish --region cn-north-1
- Failure to get accountId from credentials
Expected behavior
Successful publish
Actual behavior
STS tries to get accountId using global region and fails due to region requiring cn-north-1
Environment
- OS: Mac 15
- JDK version: 17
- Nucleus version: 2.4.0
Describe the bug
The region flag passed into the call does not affect the STS call (at least for cn-north-1)
To Reproduce
gdk component publish --region cn-north-1Expected behavior
Successful publish
Actual behavior
STS tries to get accountId using global region and fails due to region requiring cn-north-1
Environment