File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/deployments/cdk/src/deployments/vpc Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -159,12 +159,13 @@ function createVpcFlowLog(props: {
159159 for ( const [ index , logDestination ] of logDestinations . entries ( ) ) {
160160 const logDestinationType = logDestinationTypes [ index ] ;
161161 const flowLogs = new ec2 . CfnFlowLog ( scope , `FlowLog${ vpcName } ${ logDestinationType } ` , {
162- deliverLogsPermissionArn : logDestinationType == ec2 . FlowLogDestinationType . CLOUD_WATCH_LOGS ? roleArn : undefined ,
162+ deliverLogsPermissionArn :
163+ logDestinationType === ec2 . FlowLogDestinationType . CLOUD_WATCH_LOGS ? roleArn : undefined ,
163164 resourceId : vpcId ,
164165 resourceType : 'VPC' ,
165166 trafficType,
166167 logDestination,
167- logDestinationType : logDestinationType ,
168+ logDestinationType,
168169 } ) ;
169170 flowLogs . addPropertyOverride ( 'MaxAggregationInterval' , aggregationInterval ) ;
170171 if ( customFields ) {
You can’t perform that action at this time.
0 commit comments