lambdafai icon indicating copy to clipboard operation
lambdafai copied to clipboard

Document IAM permissions needed

Open dankantor opened this issue 8 years ago • 1 comments

The IAM user executing this will need certain permissions. We should list these in the docs somewhere.

dankantor avatar Mar 25 '16 18:03 dankantor

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "AllowAccessToIAM",
            "Effect": "Allow",
            "Action": [
                "iam:GetUser"
            ],
            "Resource": [
                "*"
            ]
        },
        {
            "Sid": "AllowAccessToAPIGateway",
            "Effect": "Allow",
            "Action": [
                "apigateway:GET",
                "apigateway:POST"
            ],
            "Resource": [
                "*"
            ]
        },
        {
            "Sid": "AllowAccessToLambda",
            "Effect": "Allow",
            "Action": [
                "lambda:GetFunction",
                "lambda:CreateFunction",
                "lambda:UpdateFunctionCode",
                "lambda:UpdateAlias"
            ],
            "Resource": [
                "*"
            ]
        }
    ]
}

dankantor avatar Apr 05 '16 21:04 dankantor