From c555287abde9c39974d2b6bf67a8fc48d64ea05a Mon Sep 17 00:00:00 2001 From: Jada Berenguer Date: Mon, 12 Feb 2024 11:47:09 -0800 Subject: [PATCH] Create new vpc instead of lookup --- .../framework-integ/test/aws-docdb/test/integ.cluster-retain.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-docdb/test/integ.cluster-retain.ts b/packages/@aws-cdk-testing/framework-integ/test/aws-docdb/test/integ.cluster-retain.ts index cf7f3cb45ec30..6c6cca0f0e1de 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-docdb/test/integ.cluster-retain.ts +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-docdb/test/integ.cluster-retain.ts @@ -12,7 +12,7 @@ const app = new cdk.App(); const stack = new cdk.Stack(app, 'aws-cdk-docdb-integ-cluster-retain'); -const vpc = ec2.Vpc.fromLookup(stack, 'VPC', { isDefault: true }); +const vpc = new ec2.Vpc(stack, 'VPC', { maxAzs: 2, restrictDefaultSecurityGroup: false }); new DatabaseCluster(stack, 'Database', { masterUser: { username: 'clusteradmin' }, instanceType: ec2.InstanceType.of(