1 Answer
- Newest
- Most votes
- Most comments
0
Hi.
You create an ECS-trusted IAM role as follows:
https://docs.aws.amazon.com/batch/latest/userguide/instance_IAM_role.html
When using the CLI, use the create-role command.
https://docs.aws.amazon.com/cli/latest/reference/iam/create-role.html
Trust the service using AssumeRole at creation time. Please refer to the following for the method.
https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_policy-examples.html
Relevant content
- asked 2 years ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 7 months ago