Skip to content

Commit 36b5f48

Browse files
committed
Kubernetesversion Upgrade - VPC CIDR Fix
1 parent 914dded commit 36b5f48

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

PetAdoptions/cdk/pet_stack/lib/services.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ export class Services extends Stack {
109109
}
110110
// The VPC where all the microservices will be deployed into
111111
const theVPC = new ec2.Vpc(this, 'Microservices', {
112-
cidr: cidrRange,
112+
ipAddresses: ec2.IpAddresses.cidr(cidrRange),
113+
// cidr: cidrRange,
113114
natGateways: 1,
114115
maxAzs: 2
115116
});

0 commit comments

Comments
 (0)