Skip to content

Commit

Permalink
Turned off unused NAT Gateways in Capture/Viewer VPCs (#162)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Helma <[email protected]>
  • Loading branch information
chelma authored Feb 2, 2024
1 parent ed74408 commit 3d76639
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cdk-lib/capture-stacks/capture-vpc-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export class CaptureVpcStack extends Stack {

this.vpc = new ec2.Vpc(this, 'VPC', {
ipAddresses: ec2.IpAddresses.cidr(props.planCluster.captureVpc.cidr.block),
natGateways: 0,
availabilityZones: props.planCluster.captureVpc.azs,
subnetConfiguration: [
{
Expand Down
1 change: 1 addition & 0 deletions cdk-lib/viewer-stacks/viewer-vpc-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export class ViewerVpcStack extends Stack {
// The VPC the Viewer Nodes will live in
this.vpc = new ec2.Vpc(this, 'VPC', {
ipAddresses: ec2.IpAddresses.cidr(props.viewerVpcPlan.cidr.block),
natGateways: 0,
availabilityZones: props.viewerVpcPlan.azs,
subnetConfiguration: [
{
Expand Down

0 comments on commit 3d76639

Please sign in to comment.