I have this error when I'm trying to upload an RDS snapshot to the S3 (in the same region), although I have the correct IAM role:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "",
"Effect": "Allow",
"Principal": {
"Service": "export.rds.amazonaws.com"
},
"Action": "sts:AssumeRole"
}
]
}
Error message:
Your request to export snapshot to S3 has failed.
The Principal export.rds.amazonaws.com isn't allowed to assume the IAM
role arn:aws:iam::030578524176:role/service-role/rds-export-role or
the IAM role arn:aws:iam::030578524176:role/service-role/rds-export-
role doesn't exist.