in lib/template/stack/vpc/vpc-base-stack.ts [49:62]
protected createVpc(baseName: string, vpcMaxAzs: number, vpcCidr: string, natGateways: number): ec2.IVpc {
if (vpcMaxAzs > 0 && vpcCidr.length > 0) {
const vpc = new ec2.Vpc(this, baseName,
{
maxAzs: vpcMaxAzs,
cidr: vpcCidr,
natGateways: natGateways
});
return vpc;
} else {
console.error('please check the options: VPCMaxAzs, VPCCIDR, NATGateway');
process.exit(1)
}
}