Closed vkarhaltsev closed 5 years ago
I have just tested this and could only replicate the issue if the region was disabled
Please note that if you are using cross-account roles, both the account that holds your source_profile and the target account you're awsume-ing into must have the region you want to use enabled
Hey, yes, I forgot to mention that I usse cross-account roles, my ~/.aws/config
looks like that:
[profile production]
region = eu-west-2
source_profile = ops
role_arn = arn:aws:iam::11111111:role/ops-admin
I have enabled Hong Kong region in both source and target account and still has same issue :(
UPDATE: finally I made it to work! In addition to enabling region in both source and target accounts I had also to modify "Security Token Service (STS)" in IAM: I made "Global endpoint" to have value "Valid in all AWS Regions":
Great to hear it's working now, thanks for the update!
Hello! I use awsume 3.2.9 and when I try to call some tools like
awscli
andterraform
afterawsume
exported env variables everything works pretty cool except ofap-east-1
region:awscli:
terraform: