This Terraform module can create typical resources needed for XLT Loadtest
module "terraform-aws-xlt-loadtest" {
source = "github.com/flaconi/terraform-aws-xlt-loadtest"
name = "< unique identifier >"
keyname = "< your ssh keyname (existing keypair name) >"
instance_count = 2
password = xlt1234AbcD
# start_port_services = "5000"
# local_network = "10.0.0.0/16"
# instance_type = "c4.2xlarge"
# allowed_networks = "ip/32"
}
Name | Version |
---|---|
aws | ~> 6.14 |
Name | Version |
---|---|
terraform | ~> 1.8 |
aws | ~> 6.14 |
The following input variables are required:
Description: The name used for further interpolation
Type: string
Description: The allowed networks IP/32
Type: list(string)
Description: The password to use
Type: string
The following input variables are optional (have default values):
Description: The first agent of many will be exposed at port 5000 of the NLB, the second on 5001 etc.etc.
Type: number
Default: 5000
Description: The vpc network
Type: string
Default: "10.0.0.0/16"
Description: The existing keyname of the keypair used for connecting with ssh to the agents
Type: string
Default: ""
Description: The default instance_type
Type: string
Default: "c5.2xlarge"
Description: The AMI used for the agents
Type: string
Default: "ami-01cd2bce70ccf6df4"
Description: The amount of instances to start
Type: string
Default: 2
Description: The amount of instances per lb
Type: string
Default: 50
Description: Do we create a custom Grafana instance
Type: bool
Default: false
Description: The grafana ami (required if grafana_enabled is set to true)
Type: string
Default: "ami-0fc36223101444802"
Description: The tags to add
Type: map(string)
Default: {}
Name | Description |
---|---|
lb_host | n/a |
master_controller_properties | n/a |
reporting_host | n/a |
vpc_nat_eips | n/a |
Copyright (c) 2019-2023 Flaconi GmbH