capabilities.work

Run the Latest Task Definition

A 3-step recipe with Amazon Fargate. We can help you get access.

Recipe · 3 steps

Run the Latest Task Definition

Resolve the latest active task definition revision for a family and run it.

  1. List the active task definition revisions for the family, newest last.
  2. Describe the latest revision to confirm it is FARGATE-compatible.
  3. Run a single Fargate task from the latest revision.
What you'll need to have ready
  • familyPrefix: Family name prefix to filter task definitions by.
  • cluster: Name or ARN of the cluster to run the task in.
  • subnets: Subnet IDs for the awsvpc network configuration.
  • securityGroups: Security group IDs for the awsvpc network configuration.
  • assignPublicIp: Whether to assign a public IP (ENABLED or DISABLED).
For your developer

Arazzo workflow amazon-fargate:run-latest-task-definition, 3 operations: listTaskDefinitions → describeTaskDefinition → runTask. Specs on APIs.io.