Skip to content

Commit 9231f92

Browse files
authored
Fixed linting errors (#1118)
* Fixed linting errors * fixed prettier problems * fixed formatting
1 parent f37be60 commit 9231f92

File tree

1 file changed

+3
-2
lines changed
  • src/deployments/cdk/src/deployments/vpc

1 file changed

+3
-2
lines changed

src/deployments/cdk/src/deployments/vpc/step-2.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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) {

0 commit comments

Comments
 (0)