Skip to content

Commit

Permalink
Remove nat gateways associated with the vpc
Browse files Browse the repository at this point in the history
  • Loading branch information
fedecastelli committed Feb 6, 2023
1 parent 8425620 commit 6419b0c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/blockchain-listener.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,12 @@ export class BlockchainListener extends Construct {
removalPolicy: RemovalPolicy.DESTROY,
},
);

// TODO: create vpc optional
this.vpc = new ec2.Vpc(
this,
'BlockchainListenerVPC',
{
natGateways: 0,
ipAddresses: ec2.IpAddresses.cidr(props.cidrBlock),
subnetConfiguration: [
{
Expand Down

0 comments on commit 6419b0c

Please sign in to comment.