- 新しい順
- 投票が多い順
- コメントが多い順
Hello.
If you suspect an IAM policy error, you should check the CloudTrail event history as described in the documentation you shared.
https://docs.aws.amazon.com/awscloudtrail/latest/userguide/view-cloudtrail-events-console.html
Also, I think the IAM you set up does not have enough permissions for the EventBridge scheduler to execute "StartReplicationTask".
The "AmazonDMSRedshiftS3Role" and "AmazonEventBridgeFullAccess", "AmazonEventBridgeSchedulerFullAccess", "AmazonRedshiftDataFullAccess", "AmazonRedshiftFullAccess", "CloudWatchEventsFullAccess", "IAMFullAccess" settings you have set do not have permission to execute the DMS "StartReplicationTask".
Please try attaching the following IAM policy once.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": "dms:*",
"Resource": "*"
}
]
}
If this policy is successful, then narrow down the permissions and check if the policy below works.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": "dms:StartReplicationTask",
"Resource": "*"
}
]
}
there could be different reasons for task not getting triggered. you can refer to https://repost.aws/knowledge-center/eventbridge-rules-troubleshoot to troubleshoot the eventbridge rule execution.
関連するコンテンツ
- AWS公式更新しました 7ヶ月前
- AWS公式更新しました 2年前
The DMS task triggered but only ran for about 1.5 minutes and didn't actually migrate any data. When I checked the logs, this is the message near the end of the logs: "No records received to load or apply on target , waiting for data from upstream (streamcomponent.c:1991)". Is this normal behavior for DMS tasks on EventBridge Scheduler? If the data has no updated rows, the "StartReplicationTaskType" set to "resume-processing" just won't run the DMS task even if it's defined as a Full Load to migrate existing data from the source?