mirror of
https://github.com/ivabus/www
synced 2024-11-22 18:45:06 +03:00
devops: vpc setup for serverless lambdas
This commit is contained in:
parent
29d3267e0a
commit
83d360734d
1 changed files with 9 additions and 0 deletions
|
@ -39,6 +39,15 @@ const serverlessConfiguration: AWS = {
|
|||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
vpc: {
|
||||
securityGroupIds: [
|
||||
"${ssm:/vpc/sg/serverless_lambdas}",
|
||||
],
|
||||
subnetIds: [
|
||||
"${ssm:/vpc/subnets/private_1}",
|
||||
"${ssm:/vpc/subnets/private_2}"
|
||||
]
|
||||
}
|
||||
},
|
||||
// import the function via paths
|
||||
|
|
Loading…
Reference in a new issue