Skip to content

Commit d46b9b9

Browse files
committed
Removing VPCFlowLog. This can be deployed post-install and will be improved in the future.
1 parent 780fcba commit d46b9b9

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

installer/default_config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ Config:
77
network:
88
nat_gateways: 1 # Number of NAT gateways to create. Must be equal or lower to the numbers of public subnets
99
max_azs: 3 # Number of AZs to use. We will deploy the same number of private and public subnets. Must be greater than 2
10-
vpc_flow_logs: True # Enable VPC flow logs for GuardDuty or network debug. Set to False if you don't need them.
1110
use_vpc_endpoints: False # Enable / Disable creation of VPC endpoints for various services (listed under vpc_interface_endpoints)
1211
vpc_gateway_endpoints:
1312
- s3

installer/resources/src/cdk_construct.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,6 @@ def network(self):
176176
subnet_type=ec2.SubnetType.PRIVATE)
177177
]
178178
}
179-
if install_props.Config.network.vpc_flow_logs:
180-
vpc_params['flow_logs'] = [ec2.FlowLogOptions()]
181179
self.soca_resources["vpc"] = ec2.Vpc(self, "SOCAVpc", **vpc_params)
182180
core.Tags.of(self.soca_resources["vpc"]).add("Name", f"{user_specified_variables.cluster_id}-VPC")
183181
else:

0 commit comments

Comments
 (0)