Close|CloudStack Canvas · How-To Guide
How-To Fix

Connect an ECS Service to a Task Definition on the Canvas

An ECS Service needs a Task Definition that describes the container(s) to run. On the canvas, draw an edge from the Task Definition node to the Service node. Without this connection, the generator emits a placeholder ARN that CloudFormation will reject.

Paste into this field

No field to fill — draw an edge on the canvas

Output looks like

Canvas edge: ECS Task Definition → ECS Service

1Add a Task Definition node (if not present)

Drag "ECS Task Definition" from the sidebar onto the canvas.

3Set the container image

Click the Task Definition node → set "image" to your ECR image URI. Without this, you will get a second validation error about the image.

5Draw the edge

Hover over the Task Definition node until handles appear. Drag from the Task Definition to the ECS Service node.

7Verify

Re-open Export. Both the cluster and task definition errors should be resolved.

Once you have the value, go back to CloudStack Canvas and paste it into the highlighted field.

CloudStack Canvas · Validation Guide

Connect an ECS Service to a Task Definition on the Canvas — CloudStack Canvas