2021-09-30 20:22:34 +00:00
|
|
|
locals {
|
|
|
|
name = "fleetdm"
|
|
|
|
}
|
|
|
|
|
2021-09-21 18:19:19 +00:00
|
|
|
variable "prefix" {
|
|
|
|
default = "fleet"
|
2021-09-30 20:22:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "domain_fleetdm" {
|
|
|
|
default = "dogfood.fleetdm.com"
|
|
|
|
}
|
|
|
|
|
2021-10-14 15:04:27 +00:00
|
|
|
variable "osquery_results_s3_bucket" {
|
|
|
|
default = "fleet-osquery-results-archive"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "osquery_status_s3_bucket" {
|
|
|
|
default = "fleet-osquery-status-archive"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "vulnerabilities_path" {
|
|
|
|
default = "/home/fleet"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "fleet_backend_cpu" {
|
|
|
|
default = 256
|
2022-02-14 02:13:06 +00:00
|
|
|
type = number
|
2021-10-14 15:04:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "fleet_backend_mem" {
|
|
|
|
default = 512
|
2022-02-14 02:13:06 +00:00
|
|
|
type = number
|
2021-10-14 15:04:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "async_host_processing" {
|
|
|
|
default = "false"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "logging_debug" {
|
2022-02-14 02:13:06 +00:00
|
|
|
default = "false"
|
2021-10-14 15:04:27 +00:00
|
|
|
}
|
|
|
|
|
2021-10-22 19:38:00 +00:00
|
|
|
variable "logging_json" {
|
|
|
|
default = "true"
|
|
|
|
}
|
|
|
|
|
2021-09-30 20:22:34 +00:00
|
|
|
variable "database_user" {
|
|
|
|
description = "database user fleet will authenticate and query with"
|
|
|
|
default = "fleet"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "database_name" {
|
|
|
|
description = "the name of the database fleet will create/use"
|
2022-02-14 02:13:06 +00:00
|
|
|
default = "fleet"
|
2021-09-30 20:22:34 +00:00
|
|
|
}
|
|
|
|
|
2021-10-14 15:04:27 +00:00
|
|
|
variable "fleet_image" {
|
2021-09-30 20:22:34 +00:00
|
|
|
description = "the name of the container image to run"
|
2022-03-25 00:24:08 +00:00
|
|
|
default = "fleetdm/fleet:v4.12.0"
|
2021-09-30 20:22:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "software_inventory" {
|
|
|
|
description = "enable/disable software inventory (default is enabled)"
|
|
|
|
default = "1"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "vuln_db_path" {
|
|
|
|
description = "the path to save the vuln database"
|
|
|
|
default = "/home/fleet"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "cpu_migrate" {
|
|
|
|
description = "cpu units for migration task"
|
|
|
|
default = 1024
|
2022-02-14 02:13:06 +00:00
|
|
|
type = number
|
2021-09-30 20:22:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "mem_migrate" {
|
|
|
|
description = "memory limit for migration task in MB"
|
|
|
|
default = 2048
|
2022-02-14 02:13:06 +00:00
|
|
|
type = number
|
2021-09-30 20:22:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "fleet_max_capacity" {
|
|
|
|
description = "maximum number of fleet containers to run"
|
|
|
|
default = 5
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "fleet_min_capacity" {
|
|
|
|
description = "minimum number of fleet containers to run"
|
|
|
|
default = 1
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "memory_tracking_target_value" {
|
|
|
|
description = "target memory utilization for target tracking policy (default 80%)"
|
|
|
|
default = 80
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "cpu_tracking_target_value" {
|
|
|
|
description = "target cpu utilization for target tracking policy (default 60%)"
|
|
|
|
default = 60
|
2021-11-10 01:14:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "fleet_license" {
|
|
|
|
description = "Fleet Premium license key"
|
2022-02-14 02:13:06 +00:00
|
|
|
default = ""
|
|
|
|
}
|