mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 13:37:30 +00:00
ensure strict configuration outputs for terraform logging destination modules (#19807)
This commit is contained in:
parent
4b2919e5da
commit
2f38625190
2 changed files with 7 additions and 7 deletions
|
|
@ -6,10 +6,10 @@ output "fleet_extra_environment_variables" {
|
|||
FLEET_FIREHOSE_STS_ASSUME_ROLE_ARN = var.iam_role_arn
|
||||
FLEET_FIREHOSE_STS_EXTERNAL_ID = var.sts_external_id
|
||||
FLEET_FIREHOSE_REGION = var.region
|
||||
FLEET_OSQUERY_STATUS_LOG_PLUGIN = "firehose"
|
||||
FLEET_OSQUERY_RESULT_LOG_PLUGIN = "firehose"
|
||||
FLEET_OSQUERY_STATUS_LOG_PLUGIN = length(var.firehose_status_name) > 0 ? "firehose" : ""
|
||||
FLEET_OSQUERY_RESULT_LOG_PLUGIN = length(var.firehose_results_name) > 0 ? "firehose" : ""
|
||||
FLEET_ACTIVITY_AUDIT_LOG_PLUGIN = length(var.firehose_audit_name) > 0 ? "firehose" : ""
|
||||
FLEET_ACTIVITY_ENABLE_AUDIT_LOG = length(var.firehose_audit_name) > 0 ? "true" : "false"
|
||||
FLEET_ACTIVITY_AUDIT_LOG_PLUGIN = "firehose" # only has an effect if ^ is true
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -6,10 +6,10 @@ output "fleet_extra_environment_variables" {
|
|||
FLEET_KINESIS_STS_ASSUME_ROLE_ARN = var.iam_role_arn
|
||||
FLEET_KINESIS_STS_EXTERNAL_ID = var.sts_external_id
|
||||
FLEET_KINESIS_REGION = var.region
|
||||
FLEET_OSQUERY_STATUS_LOG_PLUGIN = "kinesis"
|
||||
FLEET_OSQUERY_RESULT_LOG_PLUGIN = "kinesis"
|
||||
FLEET_ACTIVITY_ENABLE_AUDIT_LOG = length(var.kinesis_audit_name) > 0 ? "true" : "false"
|
||||
FLEET_ACTIVITY_AUDIT_LOG_PLUGIN = "kinesis" # only has an effect if ^ is true
|
||||
FLEET_OSQUERY_STATUS_LOG_PLUGIN = length(var.kinesis_status_name) > 0 ? "kinesis" : ""
|
||||
FLEET_OSQUERY_RESULT_LOG_PLUGIN = length(var.kinesis_results_name) > 0 ? "kinesis" : ""
|
||||
FLEET_ACTIVITY_AUDIT_LOG_PLUGIN = length(var.kinesis_audit_name) > 0 ? "kinesis" : ""
|
||||
FLEET_ACTIVITY_ENABLE_AUDIT_LOG = length(var.kinesis_audit_name) > 0 ? "true" : "false"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue