2 Answers
- Newest
- Most votes
- Most comments
1
Please do respect the time others dedicated helping you by mark answers as accepted.
You can do this by -
- Once the task has been completed, you can query the TaskARN through the metadata service and terminate the task;
- You should also mark the step function step as completed;
- Fargate tasks never "completes" before the "pod".
answered 2 years ago
0
The link below and its subordinate pages provide more detail on invoking Fargate tasks from Step Functions workflows, and how to pass all available configuration parameters for control of the "pods". https://docs.aws.amazon.com/step-functions/latest/dg/connect-ecs.html
answered a year ago
Relevant content
- asked a year ago
- asked 7 months ago
- asked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 6 months ago
@Jason_S Thank you for that info.
I understand getting the ARN and terminate the task but is it possible to have Step Functions tell Fargate to spin up a pod based on a specific image to run a task like I mentioned in step 2? I have not been able to find any info on this. All I have been able to find is to send a task to an already running pod.
Thanks