willbengtson / trailblazer-aws

Blazing CloudTrail since 2018
134 stars 23 forks source link

problem with attaching policy #6

Open ameerulislam opened 3 years ago

ameerulislam commented 3 years ago

This policy of yours returns 2 problem ( putting account number is not one of them) { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "AWS": "arn:aws:iam:::role/trailblazer" }, "Action": "sts:AssumeRole", "Condition": {} } ] }

Ln 4, Col 4 Missing Resource: Add a Resource or NotResource element to the policy statement. Learn more Ln 6, Col 19 Unsupported Principal: The policy type IDENTITY_POLICY does not support the Principal element. Remove the Principal element. Learn more

==

another question is there going to be 2 separate policies?

ameerulislam commented 3 years ago

ok I figured this goes to trust relationship tab