Hi everyone, I'm running into an error when runnin...
# ask-community
t
Hi everyone, I'm running into an error when running subflows from a parent flow, the state message is:
Submission failed. botocore.errorfactory.InvalidParameterException: An error occurred (InvalidParameterException) when calling the RunTask operation: TaskDefinition is inactive
Some more context: • We have a parent flow that spawns 100s of subflows in separate deployments • These flows usually succeed w/ no issues but sometimes (at a rate of ~0.5%) we have an instant failure as seen in the screenshot • If we manually click the retry button then it runs w/o issue • Retries are configured for these flows but aren't triggered here, in fact the run count is 0 What a solution would look like: • A fix to this error so that it doesn't occur again • If this failure is unavoidable then a method to force retries so that the flow can succeed Happy to provide more information where required, thanks!
n
hi @T Taylor - this looks like an ECS error are you using an ECS work pool? do you have auto deregistration on or off?
t
Thanks @Nate, yep we are running things on ECS. It also appears that we have auto deregistration turned on for the ECS tasks (which I believe is the default).