diff --git a/infrastructure/stacks/github_runner/account_github_runner_compute.policy.json.tpl b/infrastructure/stacks/github_runner/account_github_runner_compute.policy.json.tpl index 6cd9d38..eb5f4a3 100644 --- a/infrastructure/stacks/github_runner/account_github_runner_compute.policy.json.tpl +++ b/infrastructure/stacks/github_runner/account_github_runner_compute.policy.json.tpl @@ -82,22 +82,25 @@ "Action": [ "apigateway:CreateRestApi", "apigateway:DeleteRestApi", - "apigateway:GetRestApi", + "apigateway:Get*", + "apigateway:Patch*", + "apigateway:Put*", + "apigateway:Post*", "apigateway:UpdateRestApi", "apigateway:ListRestApis", "apigateway:CreateDeployment", - "apigateway:GetDeployment", "apigateway:ListDeployments", "apigateway:UpdateStage", "apigateway:CreateStage", "apigateway:DeleteStage", - "apigateway:GetStage", "apigateway:TagResource", "apigateway:UntagResource", "apigateway:ListTagsForResource", "ec2:Describe*", "ec2:DescribeVpcs", - "ec2:ModifyVpcBlockPublicAccessOptions" + "ec2:ModifyVpcBlockPublicAccessOptions", + "lambda:Get*", + "lambda:List*" ], "Resource": "*" },