mirror of
https://github.com/ivabus/www
synced 2024-11-23 00:05:06 +03:00
Merge pull request #143 from teaxyz/ops/sls-vpc-config
devops: vpc setup for serverless lambdas
This commit is contained in:
commit
587d76a2b6
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
|
// import the function via paths
|
||||||
|
|
Loading…
Reference in a new issue