fleet/infrastructure/loadtesting/terraform/osquery_perf/variables.tf

29 lines
635 B
Terraform
Raw Normal View History

variable "git_tag_branch" {
description = "The tag or git branch to use to build loadtest containers."
Loadtesting IAC updates (#32629) # Github Actions (New) - New workflow to deploy/destroy loadtest infrastructure with one-click (Needs to be tested) - Common inputs drive configuration and deployment of loadtest infrastructure - tag - fleet_task_count - fleet_task_memory - fleet_task_cpu - fleet_database_instance_size - fleet_database_instance_count - fleet_redis_instance_size - fleet_redis_instance_count - terraform_workspace - terraform_action - New workflow to deploy/destroy osquery-perf to loadtest infrastructure with one-click (Needs to be tested) - Common inputs drive configuration and deployment of osquery-perf resources - tag - git_branch - loadtest_containers - extra_flags - terraform_workspace - terraform_action - New workflow to deploy shared loadtest resources with one-click (Needs to be tested) # Loadtest Infrastructure (New) - New directory (`infrastructure/loadtesting/terraform/infra`) for one-click deployment - Loadtest environment updated to use [fleet-terraform modules](https://github.com/fleetdm/fleet-terraform) - [Deployment documentation updated](https://github.com/fleetdm/fleet/blob/0c254bca4018bcf2421ae37f652f9191fb028adf/infrastructure/loadtesting/terraform/infra/README.md) to reflect new steps # Osquery-perf deployment (New) - New directory (`infrastructure/loadtesting/terraform/osquery-perf`) for the deployment of osquery-perf - osquery-perf updated to use [fleet-terraform modules](https://github.com/fleetdm/fleet-terraform) - [Deployment documentation updated](https://github.com/fleetdm/fleet/tree/0c254bca4018bcf2421ae37f652f9191fb028adf/infrastructure/loadtesting/terraform/osquery_perf) to reflect new steps
2025-10-08 19:31:37 +00:00
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
}
}