2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Hi Vince,
Please ensure that the IAM role which you are using has the necessary permissions to run tasks on ECS, describe task definitions, and other relevant actions.
répondu il y a 8 mois
Any hint on how to check this? My task definition works when I run the task in web console.
0
Hi,
The section "cluster examples" of https://docs.aws.amazon.com/AmazonECS/latest/developerguide/security_iam_id-based-policy-examples.html will provide with examples of various IAM policies to execute various ECS under your IAM role.
You can copy those policies and adapt them to your specific use case with the actions that you need to do from boto3.
Best,
Didier
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a 2 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 4 mois
Have you read this: https://repost.aws/knowledge-center/ecs-tasks-stuck-pending-state