in sap-data-intelligence-3/lib/cdk-vpc-stack.ts [26:51]
constructor(scope: core.App, id: string, props?: core.StackProps) {
super(scope, id, props);
this.vpc = new ec2.Vpc(this, "VPC-SAPDI", {
maxAzs: 2,
cidr:"10.20.0.0/16",
subnetConfiguration: [
{
cidrMask: 24,
name: 'sapdi-public',
subnetType: ec2.SubnetType.PUBLIC,
},
{
cidrMask: 24,
name: 'sapdi-private',
subnetType: ec2.SubnetType.PRIVATE,
},
],
natGateways: 2,
});
// only required for existing VPC, if creating new CDK will add this tag automatically, required by the SAP DI installer
// Tags.of(this).add('kubernetes.io/role/internal-elb', '1',
// { includeResourceTypes: ['AWS::EC2::Subnet']});
}