IAM permissions for ECS RunTask? #4083
-
Confirm by changing [ ] to [x] below:
Describe the question
However, I received the AccessDeniedException when requesting tasks
What are the minimal IAM permissions I need to set for the above to work? I tried Full Access and it worked, which kind of makes sense. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
Hi @brianle1301, thanks for opening this issue, you can use something like mentioned in https://docs.aws.amazon.com/AmazonECS/latest/userguide/task-iam-roles.html Or try policy generator to then expand and mark all the related operations. Can help you specify permissions if the above doesn't work for you. |
Beta Was this translation helpful? Give feedback.
-
This issue has not received a response in 1 week. If you still think there is a problem, please leave a comment to avoid the issue from automatically closing. |
Beta Was this translation helpful? Give feedback.
-
@ajredniwja Hi and thanks for the response. I'm pretty sure I had a look at both of those and still could not figure out why StopTask and RunTask are insufficient. I will try again though as it has been a while |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
More on the topic => https://stackoverflow.com/a/70639428