Skip to content

Commit

Permalink
Update main.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
qmugnier authored Jul 24, 2023
1 parent 5abfd22 commit a34e3b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/flow_logs/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ resource "aws_flow_log" "main" {
log_destination_type = var.flow_log_definition.log_destination_type
traffic_type = var.flow_log_definition.traffic_type
vpc_id = var.vpc_id

log_format = "$${account-id} $${action} $${az-id} $${bytes} $${dstaddr} $${dstport} $${end} $${flow-direction} $${instance-id} $${interface-id} $${log-status} $${packets} $${pkt-dst-aws-service} $${pkt-dstaddr} $${pkt-src-aws-service} $${pkt-srcaddr} $${protocol} $${region} $${srcaddr} $${srcport} $${start} $${sublocation-id} $${sublocation-type} $${subnet-id} $${tcp-flags} $${traffic-path} $${type} $${version} $${vpc-id}"
dynamic "destination_options" {
for_each = var.flow_log_definition.log_destination_type == "s3" ? [true] : []

Expand Down

0 comments on commit a34e3b2

Please sign in to comment.