Skip to content

Component publish region flag doesn't work for STS call #298

@Iakis

Description

@Iakis

Describe the bug
The region flag passed into the call does not affect the STS call (at least for cn-north-1)

To Reproduce

  1. Set up aws credentials without config
  2. Try to publish a component to account in cn-north-1 using gdk component publish --region cn-north-1
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions