From 96185284132e2e148165c64c981dbf3374b8f9ff Mon Sep 17 00:00:00 2001 From: Federico Castelli Date: Mon, 6 Feb 2023 12:50:09 +0100 Subject: [PATCH] Try to remove nat gateways in vpcs --- src/blockchain-listener.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blockchain-listener.ts b/src/blockchain-listener.ts index c85eacf..d8d6a04 100644 --- a/src/blockchain-listener.ts +++ b/src/blockchain-listener.ts @@ -88,12 +88,12 @@ export class BlockchainListener extends Construct { 'BlockchainListenerVPC', { natGateways: 0, + natGatewayProvider: undefined, ipAddresses: ec2.IpAddresses.cidr(props.cidrBlock), subnetConfiguration: [ { subnetType: ec2.SubnetType.PUBLIC, name: 'blockchain-listener-subnet', - mapPublicIpOnLaunch: true, }, ], },