Runbook
AWS CodeDeploy IAM role permission issue for ECS Service creation.
Back to Runbooks
Overview
This incident type refers to the issue faced while creating an Amazon ECS Service due to the error message "Please create your Service role for CodeDeploy". This error occurs because AWS CodeDeploy does not have the required IAM permissions to perform the blue/green deployment strategy. To resolve this, the CodeDeploy service needs to be granted the necessary permissions to update the Amazon ECS service. The incident typically requires troubleshooting by verifying the CodeDeploy IAM role and ensuring it has the required permissions.
Parameters
Debug
List CodeDeploy applications
Describe an IAM role
Get the details of the CodeDeploy deployment
Verify that the CodeDeploy IAM role is created correctly and has the required permissions to update the Amazon ECS service.
Repair
Learn more
Related Runbooks
Check out these related runbooks to help you debug and resolve similar issues.