Getting this error “atlas cannot assume the specified role” while trying to add aws data store for data lake in atlas. Can someone help me on what is the cause of this error why it can’t assume a role?
It’s a bit hard to say from this error exactly what is causing the issue. But for Atlas Data Federation, this setup flow is giving MongoDB’s Data Federation’s IAM User the permission to “assume” your IAM Role, which grants access to your bucket. For some reason Data Federation is getting an error back from AWS at this step while it is attempting to assume the role.
Did you successfully complete the earlier steps to create a new role by running the AWS CLI commands? Did anything change with the role in between creating them with the suggested commands and trying to run this?