Hello and thanks for taking time to look at my question.
I see that its possible to pass a token from a lambda step function to a Fargate task and the token can be accessed in the running Docker container, when using .waitForTaskToken to a Task state’s resource and that token can be passed bak to the step function when the task has run..
I have a lambda function that invokes a Fargate task. But I am finding hard to know when the node script I am running in the Docker container has completed or succeeded /failed. I'd like to be able to send a success or error 'message' back to the lambda when the script has run. Is this possible using a similar approach to the tokens used in step functions?
Does anyone know how I might do that or where I can find out.
Thanks for any comments
There are multiple options that I can think of:
And an example with SF, SNS and Fargate.