Skip to content

Commit

Permalink
feat: flow log -> cloudwatch (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
pgollucci authored Nov 24, 2024
1 parent 6494bec commit 326c65c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/constructs/p6-lz-vpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ export class P6LzVpc extends cdk.Resource {
},
],
})
vpc.addFlowLog('p6-lz-flow-log', {
destination: ec2.FlowLogDestination.toCloudWatchLogs(),
})

const eiceSg = new ec2.SecurityGroup(this, 'p6-lz-sg-eice', {
vpc,
Expand Down

0 comments on commit 326c65c

Please sign in to comment.