Amazon EC2 Image Builder · Arazzo Workflow
Amazon EC2 Image Builder Build Image with Failure Cleanup
Version 1.0.0
Build an image, poll it to a terminal state, and delete the image resource if the build failed.
View Spec
View on GitHub
Amazon Web ServicesAutomationContainer ImagesEC2Image BuildingVirtual Machine ImagesArazzoWorkflows
Provider
Workflows
build-image-with-failure-cleanup
Build an image, poll to a terminal state, and delete it when the build did not succeed.
Creates an image, polls GetImage until terminal, and on a failed or cancelled outcome deletes the image build version resource.
1
createImage
CreateImage
Start a new image build whose outcome will determine whether cleanup runs.
2
getImage
GetImage
Poll the image build version until it reaches a terminal state, then branch on the outcome.
3
deleteFailedImage
DeleteImage
Delete the failed or cancelled image build version resource so it does not clutter the account.