0

During the AWS creation wizard I get this:

enter image description here

I've created an AMI role which should have the appropriate roles:

enter image description here

But the IAM role doesn't show up? What step have I overlooked?

1 Answer 1

0

I had created a role for the directory service instead of for EC2. The trust relationship should look like this:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Principal": {
        "Service": "ec2.amazonaws.com"
      },
      "Action": "sts:AssumeRole"
    }
  ]
}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .