[英]AWS DMS service: creating target endpoint for S3 is throwing error Role is not configured properly.AccessDenied
I am creating configuring a AWS DMS to migrate my RDS database to the S3 bucket.我正在创建配置 AWS DMS 以将我的 RDS 数据库迁移到 S3 存储桶。 I created the instance and the source endpoint.
我创建了实例和源端点。 There was no issue creating them.
创建它们没有问题。 Now, I am creating a target endpoint choosing the S3 as the source.
现在,我正在创建一个选择 S3 作为源的目标端点。 Before I create the target, I created a new policy with the following content.
在创建目标之前,我创建了一个包含以下内容的新策略。
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:DeleteObject",
"s3:PutObjectTagging"
],
"Resource": [
"arn:aws:s3:::buckettest2/*"
]
},
{
"Effect": "Allow",
"Action": [
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::buckettest2"
]
}
]
}
Then I created a new IAM role called SharKyaMalS3FullAccess and I attached the policy I created to that role.然后我创建了一个名为 SharKyaMalS3FullAccess 的新 IAM 角色,并将我创建的策略附加到该角色。 When I create the target endpoint using that role.
当我使用该角色创建目标端点时。 I am getting the following error.
我收到以下错误。
SYSTEM ERROR MESSAGE:The IAM Role arn:aws:iam::xxxxxxxxx:role/SharKyaMalS3FullAccess is not configured properly.AccessDenied
What is wrong with my configuration and how can I fix it?我的配置有什么问题,我该如何解决?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.