terraform/performance/variables.tf (68 lines of code) (raw):
variable "region" {
type = string
default = "us-west-2"
}
variable "ec2_instance_type" {
type = string
default = "t3a.xlarge"
}
variable "ssh_key_name" {
type = string
default = ""
}
variable "ssh_key_value" {
type = string
default = ""
}
variable "ami" {
type = string
default = "cloudwatch-agent-integration-test-al2*"
}
variable "arc" {
type = string
default = "amd64"
validation {
condition = contains(["amd64", "arm64"], var.arc)
error_message = "Valid values for arc are (amd64, arm64)."
}
}
variable "s3_bucket" {
type = string
default = ""
}
variable "test_dir" {
type = string
default = "../../test/performance/system" # This is really only used during tf destroy. See https://github.com/hashicorp/terraform/issues/23552
}
variable "cwa_github_sha" {
type = string
default = ""
}
variable "cwa_github_sha_date" {
type = string
default = ""
}
variable "values_per_minute" {
type = number
default = 10
}
variable "family" {
type = string
default = "linux"
validation {
condition = contains(["windows", "linux"], var.family)
error_message = "Valid values for family are (windows, linux)."
}
}
variable "github_test_repo" {
type = string
default = "https://github.com/aws/amazon-cloudwatch-agent-test.git"
}
variable "github_test_repo_branch" {
type = string
default = "main"
}
variable "run_mock_server" {
type = bool
default = false
}