firehose module update (#11444)

This commit is contained in:
Benjamin Edwards 2023-05-01 17:38:18 -04:00 committed by GitHub
parent 36c3b839c7
commit 3fc78e0e3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 5 deletions

View file

@ -1,10 +1,9 @@
data "aws_region" "current" {}
output "fleet_extra_environment_variables" {
value = {
FLEET_FIREHOSE_STATUS_STREAM = var.firehose_status_name
FLEET_FIREHOSE_RESULT_STREAM = var.firehose_results_name
FLEET_FIREHOSE_STS_ASSUME_ROLE_ARN = var.iam_role_arn
FLEET_FIREHOSE_REGION = data.aws_region.current.name
FLEET_FIREHOSE_REGION = var.region
FLEET_OSQUERY_STATUS_LOG_PLUGIN = "firehose"
FLEET_OSQUERY_RESULT_LOG_PLUGIN = "firehose"
}

View file

@ -1,14 +1,19 @@
variable "iam_role_arn" {
type = string
type = string
description = "IAM Role ARN to use for Firehose destination logging"
}
variable "firehose_results_name" {
type = string
type = string
description = "name of the firehose delivery stream for osquery results logs"
}
variable "firehose_status_name" {
type = string
type = string
description = "name of the firehose delivery stream for osquery status logs"
}
variable "region" {
type = string
description = "region the target firehose delivery stream is in"
}