Skip to content

Flaconi/terraform-aws-xlt-loadtest

Repository files navigation

terraform-aws-xlt-loadtest

Build Status Tag License

This Terraform module can create typical resources needed for XLT Loadtest

Usage

WAF ACL

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"
}

Providers

Name Version
aws ~> 6.14

Requirements

Name Version
terraform ~> 1.8
aws ~> 6.14

Required Inputs

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

Optional Inputs

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: {}

Outputs

Name Description
lb_host n/a
master_controller_properties n/a
reporting_host n/a
vpc_nat_eips n/a

License

MIT

Copyright (c) 2019-2023 Flaconi GmbH

About

Terraform Module with all resources needed for LoadTest

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 9