In Re:Invent 2018, AWS seems to have launched new integrations with Step Functions, which includes ECS Fargate support.
https://docs.aws.amazon.com/step-functions/latest/dg/connectors-ecs.html
I have been digging up on this, and I am able to get the ECS task to startup, and do its thing, but I am not able to send desired output back to the step function. The response syntax too does not seem to have anything that corresponds to the output of a particular state.
Is it possible for an ECS task to send back output to the step function? Any leads would help.
P.S: I am aware of activities, and have ECS poll for activity, and send task success on completion. But, I was looking to leverage step function calling ECS if that works.