Matt Alhonte
11/09/2023, 2:20 AMFlow run could not be submitted to infrastructure: An error occurred (ExpiredTokenException) when calling the RegisterTaskDefinition operation: The security token included in the request is expired
when I try to run a Flow from the ECS Push work pool. What's the right way to do this?Marvin
11/09/2023, 2:20 AMbotocore.exceptions.NoCredentialsError: Unable to locate credentials
suggests that the credentials might not be correctly set up. You can check out this discussion for more details.
Regarding the ECS Push work pool, it is a special type of work pool that allows Prefect Cloud to submit flow runs for execution to serverless computing infrastructure without running a worker. Push work pools currently support execution in GCP Cloud Run Jobs, Azure Container Instances, and AWS ECS Tasks. You can learn more about it here.
If you continue to face issues, I would recommend checking your AWS credentials and ensuring they are correctly set up.