Skip to content

Commit

Permalink
only add vpcflowlog filter if in asea config (#1252)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviergaumond authored Feb 14, 2025
1 parent 101ad14 commit 4ca1855
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3778,7 +3778,7 @@ export class ConvertAseaConfig {
});

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

0 comments on commit 4ca1855

Please sign in to comment.