Browse Source

Merge pull request #71 from mdr-engineering/feature/ftd_MSOCI-879_VPCFlowlogs_Use_the_ACK_HEC

Updates the VPC Flow Logs to use the ACK HEC
Frederick Damstra 4 years ago
parent
commit
5e191dc5dc
2 changed files with 2 additions and 2 deletions
  1. 1 1
      base/account_standards/flowlogs.tf
  2. 1 1
      base/account_standards/vars.tf

+ 1 - 1
base/account_standards/flowlogs.tf

@@ -59,7 +59,7 @@ module "kinesis_firehose" {
   arn_cloudwatch_logs_to_ship = "arn:${var.aws_partition}:logs:${var.aws_region}::log-group:/vpc_flow_logs/*"
   name_cloudwatch_logs_to_ship = "vpc_flow_logs"
   hec_token = var.aws_flowlogs_hec_token
-  hec_url = "https://${var.hec_pub}:8088"
+  hec_url = "https://${var.hec_pub_ack}:8088"
   firehose_name = "vpc_flow_logs_to_splunk"
   tags = merge(var.standard_tags, var.tags)
   cloudwatch_log_retention = 30 # keep kinesis logs this long

+ 1 - 1
base/account_standards/vars.tf

@@ -47,7 +47,7 @@ variable "environment" { type = string }
 variable "key_pairs" { type = map }
 variable "c2_accounts" { type = map }
 variable "aws_flowlogs_hec_token" { type = string }
-variable "hec_pub" { type = string }
+variable "hec_pub_ack" { type = string }
 
 # Calculate some local variables
 locals {