From 125091edc59f3b43a50f5a83b0a0ec21f9cb96e5 Mon Sep 17 00:00:00 2001 From: Sam Marley-Jarrett Date: Fri, 1 Nov 2024 13:43:22 +1100 Subject: [PATCH] Remove console.log when looking up non-default VPCs A debug `console.log()` seems to have been left in place that causes LookedUpVpc objects to be logged out when using imported (non-default) VPC/Subnets. --- lib/resource-providers/vpc.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/resource-providers/vpc.ts b/lib/resource-providers/vpc.ts index e2a0ac7ec..cf0d1c97b 100644 --- a/lib/resource-providers/vpc.ts +++ b/lib/resource-providers/vpc.ts @@ -107,7 +107,6 @@ export function getVPCFromId(context: ResourceContext, nodeId: string, vpcId?: s } else { console.log(`looking up non-default ${vpcId} VPC`); vpc = ec2.Vpc.fromLookup(context.scope, nodeId + "-vpc", { vpcId: vpcId }); - console.log(vpc); } } return vpc;