Skip to content

Commit 4ca1855

Browse files
only add vpcflowlog filter if in asea config (#1252)
1 parent 101ad14 commit 4ca1855

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference-artifacts/Custom-Scripts/lza-upgrade/src/convert-config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3778,7 +3778,7 @@ export class ConvertAseaConfig {
37783778
});
37793779

37803780
//Add partition for LZA naming of vpc flow logs if there was an entry for vpcflowlogs in ASEA config
3781-
if(partitions?.filter((partition) => partition.s3Prefix === 'vpcflowlogs')) {
3781+
if(partitions?.some((partition) => partition.s3Prefix === 'vpcflowlogs')) {
37823782
lzaPartitions?.push({
37833783
logGroupPattern: `*VpcFlowLogs*`,
37843784
s3Prefix: 'vpcflowlogs',

0 commit comments

Comments
 (0)