testing/infra/terraform/modules/benchmark_executor/variables.tf (43 lines of code) (raw):
# Required
variable "user_name" {
description = "Required username to use for resource name prefixes"
type = string
}
variable "apm_server_url" {
description = "Required APM Server URL"
type = string
}
# Optional
variable "instance_type" {
default = "c6i.large"
type = string
description = "Optional instance type to use for the worker VM"
}
variable "vpc_id" {
description = "VPC ID to provision the EC2 instance"
type = string
}
variable "apm_secret_token" {
default = ""
type = string
}
variable "public_key" {
default = "~/.ssh/id_rsa_terraform.pub"
type = string
}
variable "private_key" {
default = "~/.ssh/id_rsa_terraform"
type = string
}
variable "tags" {
type = map(string)
default = {}
description = "Optional set of tags to use for all resources"
}
variable "region" {
default = "us-west2"
type = string
}
## APM Bench settings
variable "apmbench_bin_path" {
default = ""
type = string
description = "Optionally upload the apmbench binary from the specified path to the worker machine"
}