@Marvin What are the AWS ECS prefect worker permissions required to be able to kick off a service from the task definition? example:
ecs:DescribeClusters
, etc
m
Marvin
01/09/2025, 7:25 PM
To run a Prefect ECS worker and kick off a service from a task definition, you'll need specific AWS permissions. Here's a general guide:
1. AmazonECSTaskExecutionRolePolicy: This managed policy grants the necessary permissions for starting ECS tasks, including pulling images from ECR and publishing logs to CloudWatch.
2. Additional Permissions: Depending on your specific needs, you may need other permissions. For instance, if your tasks interact with other AWS services (e.g., S3), you'll need to grant permissions for those services.
For more detailed information, refer to the Prefect AWS ECS Guide.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.