Skip to content

Commit

Permalink
feat: s3 and ssm endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
pgollucci committed Nov 24, 2024
1 parent 326c65c commit 017b5e5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/constructs/p6-lz-vpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,15 @@ export class P6LzVpc extends cdk.Resource {
})
cdk.Tags.of(sg).add('Name', 'p6-lz-sg-default')
sg.addIngressRule(eiceSg, ec2.Port.SSH, 'Allow SSH traffic from EICE SG')

new ec2.GatewayVpcEndpoint(this, `Gateway-S3`, {
service: new ec2.GatewayVpcEndpointAwsService('s3'),
vpc,
})

new ec2.InterfaceVpcEndpoint(this, `Interface-SSM`, {
service: new ec2.InterfaceVpcEndpointAwsService('ssm'),
vpc,
})
}
}

0 comments on commit 017b5e5

Please sign in to comment.