assume_role with region #3937
Unanswered
pritamrungta
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
My AWS account setup has Service Control Policies that block access to all regions except us-east-2
I'm able to assume a role using CLI:
aws sts assume-role --role-arn ROLE_ARN --role-session-name ROLE_SESSION_NAME --region us-east-2
However, getting access denied with boto assume_role method:
In both cases, I also have AWS_REGION set in my env. Also, used various other combinations, but nothing helps, and I'm almost blocked on this with no clue.
Please suggest, how I can make this work.
Beta Was this translation helpful? Give feedback.
All reactions