Hi Matt,
when I tried to create policy using below JSON from atlas, I am getting error when I click review policy “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”: {
“AWS”: “arn:aws:iam::962727799805:user/atlas-data-lake”
},
“Action”: “sts:AssumeRole”,
“Condition”: {
“StringEquals”: {
“sts:ExternalId”: “0cc954f8-3d27-4304-a78c-c8dfabf5d071”
}
}
}
]
}
Thanks
Karun Gaddam