Amazon Elastic Beanstalk · Arazzo Workflow
Amazon Elastic Beanstalk Deploy Version With Rollback
Version 1.0.0
Deploy a new version, poll the rollout, and roll back to the previous version if it fails.
View Spec
View on GitHub
Amazon Web ServicesAuto ScalingDeploymentElastic BeanstalkPaaSPlatform As A ServiceWeb ApplicationsArazzoWorkflows
Provider
Workflows
deploy-version-with-rollback
Deploy a version and roll back to the prior version if the rollout fails.
Records the current version, deploys the new version, polls the rollout, and on a terminal failure redeploys the previously recorded version.
1
recordCurrentVersion
describeEnvironments
Describe the environment to record its currently deployed version so it can be restored if the new deployment fails.
2
deployNewVersion
updateEnvironment
Deploy the new application version to the environment.
3
pollDeployment
describeEnvironments
Describe the environment and branch on its status — loop back while it is still Updating, end when it returns to Ready, and roll back on a terminal Terminated status.
4
rollbackVersion
updateEnvironment
Redeploy the previously recorded version to roll the environment back to a known-good state after a failed deployment.