340a194894
- fix sg: need remote access to test server - Give the load generator a name - Update loadtest hcl filename in readme - Add terraform init - Disable access to the server machine by default
27 lines
641 B
HCL
27 lines
641 B
HCL
terraform {
|
|
backend "s3" {
|
|
}
|
|
}
|
|
|
|
provider "aws" {
|
|
assume_role {
|
|
role_arn = var.role_arn
|
|
}
|
|
}
|
|
|
|
module "load-test" {
|
|
source = "../../../test/load/terraform"
|
|
|
|
vpc_az = ["us-east-2a", "us-east-2b"]
|
|
vpc_name = var.vpc_name
|
|
vpc_cidr = "10.0.0.0/16"
|
|
vpc_allwed_ssh_cidr = "0.0.0.0/0"
|
|
public_subnet_cidrs = ["10.0.1.0/24", "10.0.2.0/24"]
|
|
private_subnet_cidrs = ["10.0.3.0/24"]
|
|
test_public_ip = true
|
|
ami_owners = var.ami_owners
|
|
consul_download_url = var.consul_download_url
|
|
cluster_name = var.cluster_name
|
|
cluster_tag_key = var.cluster_tag_key
|
|
}
|