By using AWS re:Post, you agree to the Terms of Use



Reading this doc - Link:

So, i have created 1 policy and attached it to new role.

When i want to create second role i have the error:
This policy contains the following error: Has prohibited field Principal For more information about the IAM policy grammar, see AWS IAM Policies

"Version": "2012-10-17",
"Statement": [
"Effect": "Allow",
"Principal": {
"Service": ""
"Action": "sts:AssumeRole",
"Condition": {}

1 Answer

it's not policy, it's relationship button, fixed

answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions