Continuing service deployments
When a pause lifecycle hook is configured for an Amazon ECS service deployment, the deployment
pauses at the configured lifecycle stage and waits for an explicit action. Use the
ContinueServiceDeployment API to either continue the deployment to the next
lifecycle stage or roll back to the previous service revision.
The following action types are available:
-
CONTINUE- This option continues the deployment to the next lifecycle stage. -
ROLLBACK- This option rolls back the service deployment to the previous service revision.
You can continue a deployment that has a pause hook in AWAITING_ACTION
status. The deployment must be in the IN_PROGRESS state. For more information
about service deployment states, see View service history using Amazon ECS service deployments.
Prerequisites
-
The pause hook must be in
AWAITING_ACTIONstatus. -
You need the
hookIdfrom theDescribeServiceDeploymentsresponse.
Procedure
Next steps
-
Monitor the deployment progress using
DescribeServiceDeploymentsor the Amazon ECS console. -
If additional pause hooks are configured at later lifecycle stages, the deployment pauses again at those stages.