Troubleshooting - Amazon EBS
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Troubleshooting

The following documentation can help you troubleshoot problems that you might encounter.

Error: Role with name already exists

Description

You get the Role with name AWSDataLifecycleManagerDefaultRole already exists or Role with name AWSDataLifecycleManagerDefaultRoleForAMIManagement already exists error when you try to create a policy using the console.

Cause

The ARN format of the default role differs depending on whether it was created using the console or the Amazon CLI. While the ARNs are different, the roles use the same role name, which results in a role naming conflict between the console and the Amazon CLI.

Solution

To resolve this issue, do the following:

  1. (For snapshot policies enabled for pre and post scripts only) Manually attach the AWSDataLifecycleManagerSSMFullAccess Amazon managed policy to the AWSDataLifecycleManagerDefaultRole IAM role. For more information, see Adding IAM identity permissions.

  2. When creating your Amazon Data Lifecycle Manager policy, for IAM role, select Choose another role, and then select either AWSDataLifecycleManagerDefaultRole (for a snapshot policy), or AWSDataLifecycleManagerDefaultRoleForAMIManagement (for an AMI policy).

  3. Continue to create the policy as usual.