2개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
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".
답변함 2년 전
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
답변함 일 년 전
@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