mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 08:45:38 +02:00
Merging this prematurely to make sure the team is on the same boat... like dang! We need to find a better way to do this. Plus it has become too big
17 lines
410 B
TypeScript
17 lines
410 B
TypeScript
// import { isPermanentStage } from "./stage";
|
|
|
|
// export const vpc = isPermanentStage
|
|
// ? new sst.aws.Vpc("Vpc", {
|
|
// az: 2,
|
|
// })
|
|
// //FIXME: Change this ID
|
|
// : undefined //sst.aws.Vpc.get("Vpc", "vpc-070a1a7598f4c12d1");
|
|
// //
|
|
|
|
export const vpc = new sst.aws.Vpc("NestriVpc", {
|
|
az: 2,
|
|
// For lambdas to work in this VPC
|
|
nat: "ec2",
|
|
// For SST tunnel to work
|
|
bastion: true
|
|
}) |