fleet/infrastructure/loadtesting/terraform/osquery_perf/variables.tf
Jorge Falcon 0b0c67a5d5
Loadtest - osquery_perf scaling fixes (#35798)
- Removes timestamp from osquery_perf image
- Adds `default: 0` to loadtest osquery_perf workflow, `variable:
loadtest_containers_starting_index`
- Adds `variable: sleep_time` to loadtest osquery_perf workflow
- Adds osquery_perf docker repository in ECR
- Adds support for `sleep_time` to `enroll.sh`
- Updates terraform variables to enforce `git_branch` or `git_tag` for
osquery_perf
2025-11-17 10:21:18 -05:00

28 lines
635 B
HCL

variable "git_tag_branch" {
description = "The tag or git branch to use to build loadtest containers."
type = string
}
variable "loadtest_containers" {
description = "Number of loadtest containers to deploy"
type = number
default = 1
}
variable "extra_flags" {
description = "Comma delimited list (string) for passing extra flags to osquery-perf containers"
type = list(string)
default = ["--orbit_prob", "0.0"]
}
variable "task_size" {
type = object({
cpu = optional(number, 256)
memory = optional(number, 1024)
})
default = {
cpu = 256
memory = 1024
}
}