'How to fix: " AccessDeniedException: You are in ap-southeast-1, but your directory region is us-east-1. Please use us-east-1 as region."
Im trying out aws quicksight getting started tutorial: https://docs.aws.amazon.com/quicksight/latest/user/embedded-dashboards-with-iam-setup-step-3.html
Im at a step to use
aws quicksight register-user --aws-account-id XXXXXXXXX --namespace
default --identity-type IAM --iam-arn
"arn:aws:iam::XXXXXXXXX:role/qsembed" --user-role READER --session-name
"[email protected]" --email XXXXXXXXX@XXXXXXXXX .com --region ap- southeast-1
however I get hit with
"An error occurred (AccessDeniedException) when calling the RegisterUser operation: You are in ap-southeast-1, but your directory region is us-east-1. Please use us-east-1 as region. "
the quicksight and main AWS accounts are both on singapore (ap-southeast-1). No documentation seems to solve this problem
Help would be very much appreciated
Solution 1:[1]
Quicksight maintains user register in one region and analysis and dashboard can be created in different regions. As the error message says you have to use --region us-east-1.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Mansoor C P |
