2022-02-15 18:00:24 +00:00
|
|
|
variable "tag" {
|
|
|
|
description = "The tag to deploy. This would be the same as the branch name"
|
|
|
|
}
|
|
|
|
|
2022-12-27 21:48:54 +00:00
|
|
|
variable "git_branch" {
|
|
|
|
description = "The git branch to use to build loadtest containers. Only needed if docker tag doesn't match the git branch"
|
2023-03-29 12:57:10 +00:00
|
|
|
type = string
|
|
|
|
default = null
|
2022-12-27 21:48:54 +00:00
|
|
|
}
|
|
|
|
|
2022-02-15 18:00:24 +00:00
|
|
|
variable "fleet_config" {
|
|
|
|
description = "The configuration to use for fleet itself, gets translated as environment variables"
|
|
|
|
type = map(string)
|
|
|
|
default = {}
|
|
|
|
}
|
2022-03-21 17:18:21 +00:00
|
|
|
|
2022-04-12 16:49:00 +00:00
|
|
|
variable "loadtest_containers" {
|
|
|
|
description = "The number of containers to loadtest with"
|
|
|
|
type = number
|
|
|
|
default = 0
|
|
|
|
}
|
2023-01-02 20:33:30 +00:00
|
|
|
|
2023-11-30 22:36:04 +00:00
|
|
|
variable "fleet_containers" {
|
|
|
|
description = "The number of containers running Fleet"
|
|
|
|
type = number
|
|
|
|
default = 10
|
|
|
|
}
|
|
|
|
|
2023-01-02 20:33:30 +00:00
|
|
|
variable "db_instance_type" {
|
|
|
|
description = "The type of the loadtesting db instances. Default is db.r6g.4xlarge."
|
|
|
|
type = string
|
|
|
|
default = "db.r6g.4xlarge"
|
|
|
|
}
|
2023-03-29 12:57:10 +00:00
|
|
|
|
|
|
|
variable "redis_instance_type" {
|
|
|
|
description = "the redis instance type to use in loadtesting. default is cache.m6g.large"
|
|
|
|
type = string
|
|
|
|
default = "cache.m6g.large"
|
2023-11-30 22:36:04 +00:00
|
|
|
}
|