aws-samples / aws-iam-access-key-auto-rotation

This set of CloudFormation templates and Python scripts will set up an auto-rotation function that will automatically rotate your AWS IAM User Access Keys every 90 days.
MIT No Attribution
134 stars 128 forks source link

Invalid principal in policy #26

Open headless-kjh opened 1 year ago

headless-kjh commented 1 year ago

running ASA-iam-key-auto-rotation-list-accounts-role.yaml

image Invalid principal in policy: "AWS":"arn:aws:iam::899720958166:role/asa-iam-key-rotation-account-inventory-lambda-execution-role" (Service: AmazonIdentityManagement; Status Code: 400; Error Code: MalformedPolicyDocument; Request ID: 5a36253e-7d8f-47ee-8457-70974ed706c6; Proxy: null)