Amazon Fargate · Arazzo Workflow
Amazon Fargate Provision and Run a Task
Version 1.0.0
Create a cluster, register a Fargate task definition, run a task, and poll until it reaches RUNNING.
Provider
Workflows
provision-and-run-task
Stand up a cluster and task definition, then run and confirm a Fargate task is RUNNING.
Chains createCluster, registerTaskDefinition, and runTask, then loops over describeTasks until the started task reports a terminal or running state.
1
createCluster
createCluster
Create the ECS cluster that will host the Fargate task.
2
registerTaskDefinition
registerTaskDefinition
Register a FARGATE-compatible task definition with the supplied container.
3
runTask
runTask
Run a single task from the registered task definition on Fargate.
4
pollTaskStatus
describeTasks
Poll DescribeTasks until the started task reaches RUNNING or STOPPED. The loop re-enters this step while the task is still provisioning or pending.