Menu
AWS CodeDeploy
User Guide (API Version 2014-10-06)

Error Codes for AWS CodeDeploy

This topic provides reference information about AWS CodeDeploy errors.

Error Code Description

AGENT_ISSUE

The deployment failed because of a problem with the AWS CodeDeploy agent. Make sure the agent is installed and running on all instances in this deployment group.

Learn more:

HEALTH_CONSTRAINTS

The overall deployment failed because too many individual instances failed deployment, too few healthy instances are available for deployment, or some instances in your deployment group are experiencing problems.

Learn more:

HEALTH_CONSTRAINTS_INVALID

The deployment can’t start because the minimum number of healthy instances, as defined by your deployment configuration, are not available. You can reduce the required number of healthy instances by updating your deployment configuration or increase the number of instances in this deployment group.

Learn more:

IAM_ROLE_MISSING

The deployment failed because no service role exists with the service role name specified for the deployment group. Make sure you are using the correct service role name.

Learn more:

IAM_ROLE_PERMISSIONS

AWS CodeDeploy does not have the permissions required to assume a role, or the IAM role you're using does't give you permission to perform operations in an AWS service.

Learn more:

AUTO_SCALING_IAM_ROLE_PERMISSIONS

The service role associated with your deployment group does not have the permission required to perform operations in the following AWS service.

Learn more:

OVER_MAX_INSTANCES

The deployment failed because more instances are targeted for deployment than are allowed for your account. To reduce the number of instances targeted for this deployment, update the tag settings for this deployment group or delete some of the targeted instances. Alternatively, you can contact AWS Support to request a limit increase.

Learn more:

THROTTLED

The deployment failed because more requests were made than are permitted for AWS CodeDeploy by an IAM role. Try reducing the number of requests.

Learn more:

UNABLE_TO_SEND_ASG

The deployment failed because the deployment group isn’t configured correctly with its Auto Scaling group. In the AWS CodeDeploy console, delete the Auto Scaling group from the deployment group, and then add it again.

Learn more:

Related Topics

Troubleshooting

On this page: