From 81b959a3909aa08bdb5e24307ef864066dbc957b Mon Sep 17 00:00:00 2001 From: Harrison Ravazzolo <38767391+harrisonravazzolo@users.noreply.github.com> Date: Fri, 24 Jan 2025 00:51:17 -0800 Subject: [PATCH] update logging dest (#25473) Co-authored-by: Harrison John --- .../dogfood/terraform/aws-tf-module/main.tf | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/infrastructure/dogfood/terraform/aws-tf-module/main.tf b/infrastructure/dogfood/terraform/aws-tf-module/main.tf index 385ee400d5..f6c76db3da 100644 --- a/infrastructure/dogfood/terraform/aws-tf-module/main.tf +++ b/infrastructure/dogfood/terraform/aws-tf-module/main.tf @@ -352,13 +352,12 @@ module "mdm" { } module "firehose-logging" { - source = "github.com/fleetdm/fleet//terraform/addons/logging-destination-firehose?ref=tf-mod-addon-logging-destination-firehose-v1.1.0" - osquery_results_s3_bucket = { - name = "${local.customer}-osquery-results-archive" - } - osquery_status_s3_bucket = { - name = "${local.customer}-fleet-osquery-status-archive" - } + source = "github.com/fleetdm/fleet//terraform/addons/byo-firehose-logging-destination/firehose?ref=tf-mod-addon-byo-firehose-logging-destination-firehose-v2.0.3" + firehose_results_name = "osquery_results" + firehose_status_name = "osquery_status" + firehose_audit_name = "fleet_audit" + iam_role_arn = "arn:aws:iam::273354660820:role/terraform-20250115232230102400000003" + region = data.aws_region.current.name } module "osquery-carve" {