My code clearly has an action. So I assume its a formatting error. I know it's a silly thing but I cant figure it out.
Resources:
LambdaExecRole:
Type: AWS::IAM::Role
Properties:
Path: "/"
AssumeRolePolicyDocument:
Version: "2012-10-17"
Statement:
-
Effect: Allow
Principal:
Action:
- "sts:AssumeRole"
Service:
- "lambda.amazonaws.com"
Action needed to be at the same level as Principal.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With