From 8a8affdb229fb6a1be22b34472cb3eeaf075aded Mon Sep 17 00:00:00 2001 From: Erik Erikson Date: Thu, 18 Aug 2016 10:00:47 -0700 Subject: [PATCH] Add VPC Config Adds VPC configuration examples to serverless-yml.md --- docs/understanding-serverless/serverless-yml.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/understanding-serverless/serverless-yml.md b/docs/understanding-serverless/serverless-yml.md index e1076541d..54b91c448 100644 --- a/docs/understanding-serverless/serverless-yml.md +++ b/docs/understanding-serverless/serverless-yml.md @@ -11,6 +11,13 @@ service: first_service provider: name: aws runtime: nodejs4.3 + vpc: # optional, applies to all functions described herein but is overridden by any function level settings + securityGroupIds: + - securityGroupId1 + - securityGroupId2 + subnetIds: + - subnetId1 + - subnetId2 plugins: - additional_plugin @@ -46,6 +53,13 @@ functions: path: users/create method: get - sns: topic-name + vpc: # optional, applies only to this function and overrides any provider level settings + securityGroupIds: + - securityGroupId1 + - securityGroupId2 + subnetIds: + - subnetId1 + - subnetId2 resources: Resources: