fleet/infrastructure/dogfood/terraform/aws/variables.tf
Zachary Winnerman 2fbe53b6c9
Reorg infrastructure and add changes for frontend's loadtesting environment (#4947)
* Reorganized infrastructure, updated for frontend's loadtesting

* Add changes suggested by @chiiph

* Moved files per suggestion by Ben

* Update docs with new links

* Add config for multi account assume role
2022-04-12 12:49:00 -04:00

108 lines
2.1 KiB
HCL

locals {
name = "fleetdm"
}
variable "prefix" {
default = "fleet"
}
variable "domain_fleetdm" {
default = "dogfood.fleetdm.com"
}
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
type = number
}
variable "fleet_backend_mem" {
default = 512
type = number
}
variable "async_host_processing" {
default = "false"
}
variable "logging_debug" {
default = "false"
}
variable "logging_json" {
default = "true"
}
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"
default = "fleet"
}
variable "fleet_image" {
description = "the name of the container image to run"
default = "fleetdm/fleet:v4.12.0"
}
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
type = number
}
variable "mem_migrate" {
description = "memory limit for migration task in MB"
default = 2048
type = number
}
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
}
variable "fleet_license" {
description = "Fleet Premium license key"
default = ""
}