diff --git a/demos-pipeline/example/bin/poky-pipeline.ts b/demos-pipeline/example/bin/poky-pipeline.ts index 75760b3..b0fd1d1 100644 --- a/demos-pipeline/example/bin/poky-pipeline.ts +++ b/demos-pipeline/example/bin/poky-pipeline.ts @@ -50,7 +50,7 @@ new BuildImagePipelineStack(app, "BuildImagePipeline", { /** * Set up networking to allow us to securely attach EFS to our CodeBuild instances. */ -const vpc = new PipelineNetworkStack(app, "PipelineNetwork", { +const vpc = new PipelineNetworkStack(app, { ...defaultProps, }); diff --git a/demos-pipeline/lib/lib/network.ts b/demos-pipeline/lib/lib/network.ts index d47a4e3..c28b2d4 100644 --- a/demos-pipeline/lib/lib/network.ts +++ b/demos-pipeline/lib/lib/network.ts @@ -9,8 +9,8 @@ export class PipelineNetworkStack extends cdk.Stack { /** The VPC for the pipeline to reside in. */ public readonly vpc: ec2.IVpc; - constructor(scope: Construct, id: string, props?: cdk.StackProps) { - super(scope, id, props); + constructor(scope: Construct, props?: cdk.StackProps) { + super(scope, 'PipelineNetwork', props); // We will create a VPC with 3 Private and Public subnets for AWS // Resources that have network interfaces (e.g. Connecting and EFS