How to discover the resolved region by the default provider chain? #2830
Answered
by
bravecrayon
bravecrayon
asked this question in
Q&A
-
I have a region specified in my In another part my script I need to know the region to generate a specific ARN. Is there a way to discover the region that was discovered by the default provider chain? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
bravecrayon
Feb 22, 2023
Replies: 2 comments 3 replies
-
I think I figured it out: |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
bravecrayon
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think I figured it out:
Aws::STS::Client.new.config.region