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

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

4. Click Next.

0004

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

0005

6. Scroll down to the bottom. Click Create role.

0006