Skip to content

Commit

Permalink
Use default log_destination_type
Browse files Browse the repository at this point in the history
  • Loading branch information
theopolis committed Jul 11, 2024
1 parent 88e9def commit fad841d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -905,10 +905,9 @@ resource "aws_vpc" "agentless_scan_vpc" {
}

resource "aws_flow_log" "agentless_scan_vpc_flow_log" {
count = var.regional && !var.use_existing_vpc ? 1 : 0
vpc_id = local.vpc_id
traffic_type = "REJECT"
log_destination = "cloud-watch-logs"
count = var.regional && !var.use_existing_vpc ? 1 : 0
vpc_id = local.vpc_id
traffic_type = "REJECT"

tags = merge(var.tags, {
Name = "${local.prefix}-vpc"
Expand Down

0 comments on commit fad841d

Please sign in to comment.