Create ECS CodeDeploy Role

1. Go to AWS IAM console.

2. In the left sidebar,

  • Choose Roles.
  • Click Create role.

0001

3. In Trusted entity type section, choose AWS service.

0002

4. In the Use case section,

  • For Service or use case, choose CodeDeploy.
  • For Choose a use case for the specified service, choose CodeDeploy - ECS.
  • Click Next.

0003

5. Click Next.

0004

6. In Role details section, enter ecsCodeDeployRole for Role name.

0005

7. Scroll down to the bottom, click Create role.

0006