'ERROR: Unable to validate instance profile 'DataPipelineDefaultResourceRole' because no role exists with that name

I am trying to create the data pipeline in order to take a backup of DynamoDB. I had followed the below documentation for the same.

https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBPipeline.html

Still, I am getting errors as below.

Object:EmrClusterForBackup
ERROR: Unable to validate instance profile 'DataPipelineDefaultResourceRole' because no role exists with that name.

Also DataPipelineDefaultResourceRole is already there into IAM.



Solution 1:[1]

I have created a new role namely DataPipelineDefaultResourceRoleNew and assigned that role in EMRClusterBackup and it's fixed the problem.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Dhaval Soni