Skip to content

Commit 866907a

Browse files
committed
chore: add FLOW type logs to cloudwatch logging for completeness
1 parent f8e74d3 commit 866907a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

main.tf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,15 @@ resource "aws_networkfirewall_logging_configuration" "main" {
4040
log_destination_type = "CloudWatchLogs"
4141
log_type = "ALERT"
4242
}
43+
44+
log_destination_config {
45+
log_destination = {
46+
logGroup = aws_cloudwatch_log_group.main[0].name
47+
}
48+
49+
log_destination_type = "CloudWatchLogs"
50+
log_type = "FLOW"
51+
}
4352
}
4453
}
4554

0 commit comments

Comments
 (0)