mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
firehose module update (#11444)
This commit is contained in:
parent
36c3b839c7
commit
3fc78e0e3c
2 changed files with 9 additions and 5 deletions
|
|
@ -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"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue