Troubleshooting assessment runs
Following, you can find topics about troubleshooting issues with running assessment reports with AWS Database Migration Service. These topics can help you to resolve common issues.
ResourceNotFoundFault when running StartReplicationTaskAssessment
You may encounter the following exception when running the StartReplicationTaskAssessment action.
An error occurred (ResourceNotFoundFault) when calling the StartReplicationTaskAssessment operation: Task assessment has not been run or dms-access-for-tasks IAM Role not configured correctly
If you encounter this exception, create the dms-access-for-tasks role by doing the following:
Open the IAM console at https://console.aws.amazon.com/iam/
. In the navigation pane, choose Roles.
Choose Create role.
On the Select trusted entity page, for Trusted entity type, choose Custom trust policy.
Paste the following JSON in the editor, replacing the existing text.
{ "Version": "2012-10-17", "Statement": [ { "Sid": "1", "Effect": "Allow", "Principal": { "Service": "dms.amazonaws.com" }, "Action": "sts:AssumeRole" } ] }
The preceding policy grants the
sts:AssumeRole
permission to AWS DMS. When you add the AmazonDMSRedshiftS3Role policy, DMS can to create the S3 bucket in your account, and put the data type assessment results into this S3 bucket.Choose Next.
On the Add permissions page, search for and add the AmazonDMSRedshiftS3Role policy. Choose Next.
On the Name, review, and create page, name the role dms-access-for-tasks. Choose Create role.