From 6441732b8f47033ce2496f901f61c34f74c39926 Mon Sep 17 00:00:00 2001 From: AJ Kerrigan Date: Mon, 26 Feb 2018 10:23:35 -0500 Subject: [PATCH] Add EC2 permission for VPC access --- doc_source/lambda-api-permissions-ref.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc_source/lambda-api-permissions-ref.md b/doc_source/lambda-api-permissions-ref.md index 85503668..a56dcc93 100644 --- a/doc_source/lambda-api-permissions-ref.md +++ b/doc_source/lambda-api-permissions-ref.md @@ -101,5 +101,6 @@ If you see an expand arrow \(**↗**\) in the upper\-right corner of the table, | `s3:GetObject` Required only if you are specifying an S3 bucket and object key, the deployment package, or key when creating a Lambda function\. | `arn:aws:s3:::bucket-name/key-name` | N/A | | **API:** [UpdateFunctionConfiguration](API_UpdateFunctionConfiguration.md) **Required Permissions:** `lambda:UpdateFunctionConfiguration` | `arn:aws:lambda:region:account-id:function:function-name` | N/A | | `iam:PassRole` The user creating the function must have permissions for this action on the IAM role that the user specifies as the execution role at the time of updating a Lambda function\. This is the role AWS Lambda assumes to execute the Lambda function\. The user must have permissions to pass the role to AWS Lambda\. | arn:aws:iam::account\-id: role/execution\-role\-name | N/A | -| `ec2:DescribeSecurityGroups` Required only if you are specifying VPC configuration information when creating a Lambda function\. | \* | N/A | -| ec2:DescribeSubnets Required only if you are specifying VPC configuration information when creating a Lambda function\. | \* | N/A | \ No newline at end of file +| `ec2:DescribeSecurityGroups` Required only if you are specifying VPC configuration information when creating a Lambda function\. | \* | N/A | +| `ec2:DescribeSubnets` Required only if you are specifying VPC configuration information when creating a Lambda function\. | \* | N/A | +| `ec2:DescribeVpcs` Required only if you are specifying VPC configuration information when creating a Lambda function\. | \* | N/A | \ No newline at end of file