Skip to content

Commit

Permalink
remove uneccessary VPC endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
manuwaik committed Jan 17, 2024
1 parent 99ecf75 commit 9f0a5ab
Showing 1 changed file with 1 addition and 31 deletions.
32 changes: 1 addition & 31 deletions lib/shared/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export class Shared extends Construct {
}

if (
//typeof props.config.vpc?.createVpcEndpoints === "undefined" ||
props.config.privateWebsite ||
props.config.vpc?.createVpcEndpoints === true
) {
// Create a VPC endpoint for S3.
Expand Down Expand Up @@ -181,36 +181,6 @@ export class Shared extends Construct {
// privateDnsEnabled: true
// });
// // }

// // Create VPC Endpoint for CloudWatch Logs
// vpc.addInterfaceEndpoint("CloudWatchLogsEndpoint", {
// service: ec2.InterfaceVpcEndpointAwsService.CLOUDWATCH_LOGS,
// });

// // Create VPC Endpoint for STS
// vpc.addInterfaceEndpoint("STSEndpoint", {
// service: ec2.InterfaceVpcEndpointAwsService.STS,
// });

// // Create VPC Endpoint for Config
// vpc.addInterfaceEndpoint("ConfigEndpoint", {
// service: ec2.InterfaceVpcEndpointAwsService.CONFIG,
// });

// // Create VPC Endpoint for XRAY
// vpc.addInterfaceEndpoint("XRAYEndpoint", {
// service: ec2.InterfaceVpcEndpointAwsService.XRAY,
// });

// // Create VPC Endpoint for EC2_MESSAGES
// vpc.addInterfaceEndpoint("EC2_MESSAGESEndpoint", {
// service: ec2.InterfaceVpcEndpointAwsService.EC2_MESSAGES,
// });
// // Create VPC Endpoint for SSM_MESSAGES
// vpc.addInterfaceEndpoint("SSM_MESSAGESEndpoint", {
// service: ec2.InterfaceVpcEndpointAwsService.SSM_MESSAGES,
// });



}
Expand Down

0 comments on commit 9f0a5ab

Please sign in to comment.