2 Risposte
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
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.
con risposta 8 mesi fa
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
Contenuto pertinente
- AWS UFFICIALEAggiornata 2 anni fa
Have you read this: https://repost.aws/knowledge-center/ecs-tasks-stuck-pending-state