504344 (14) [Avatar] Offline
[ 57 KB ]
When I do insert provided input for policy it leads to validation error
"The actions in your policy do not support resource-level permissions and require you to choose All resources"

See screenshot. So there must be something wrong now with the policy even if I have copied and modified as in the book written down.

    "Version": "2012-10-17",
    "Statement": [
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": [
            "Resource": "*"
            "Effect": "Allow",
            "Action": "lambda:InvokeFunction",
            "Resource": "arn:aws:lambda:eu-central-1:123456789987:function:greetingsOnDemand"
DeMoehn (10) [Avatar] Offline

you need to put anything after "Action" and after "Resource" in []