fleet/infrastructure/dogfood/terraform/aws/variables.tf

118 lines
2.3 KiB
Terraform
Raw Normal View History

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.17.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 = ""
}
variable "cloudwatch_log_retention" {
description = "number of days to keep logs around for fleet services"
default = 1
}
variable "rds_backup_retention_period" {
description = "number of days to keep snapshot backups"
default = 7
}