2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
aha, please try the following:
{
"Version": "2008-10-17",
"Statement": [
{
"Sid": "",
"Effect": "Allow",
"Principal": {
"Service": "ecs.amazonaws.com"
},
"Action": "sts:AssumeRole"
}
]
}
This is probably why you dont see the role under ECS.
répondu il y a 2 ans
0
Can you paste the trust policy of the IAM Role that you created for the ECS service?
répondu il y a 2 ans
{ "Version": "2008-10-17", "Statement": [ { "Sid": "", "Effect": "Allow", "Principal": { "Service": "ec2.amazonaws.com" }, "Action": "sts:AssumeRole" } ] }
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a 6 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 5 ans
- AWS OFFICIELA mis à jour il y a 5 ans
It still isn't working; It's the same code (I haven't figured out the inline code block so the formatting is like...that.
Have you swapped EC2 with ecs? This is the key difference