9f05d62338
Use HCP Consul and HCP Vault for the Consul and Vault clusters used in E2E testing. This has the following benefits: * Without the need to support mTLS bootstrapping for Consul and Vault, we can simplify the mTLS configuration by leaning on Terraform instead of janky bash shell scripting. * Vault bootstrapping is no longer required, so we can eliminate even more janky shell scripting * Our E2E exercises HCP, which is important to us as an organization * With the reduction in configurability, we can simplify the Terraform configuration and drop the complicated `provision.sh`/`provision.ps1` scripts we were using previously. We can template Nomad configuration files and upload them with the `file` provisioner. * Packer builds for Linux and Windows become much simpler. tl;dr way less janky shell scripting!
13 lines
501 B
HCL
13 lines
501 B
HCL
region = "us-east-1"
|
|
instance_type = "t3.medium"
|
|
server_count = "3"
|
|
client_count_ubuntu_bionic_amd64 = "4"
|
|
client_count_windows_2016_amd64 = "1"
|
|
volumes = true
|
|
|
|
nomad_local_binary = "../../pkg/linux_amd64/nomad"
|
|
nomad_local_binary_client_windows_2016_amd64 = ["../../pkg/windows_amd64/nomad.exe"]
|
|
|
|
# For testing enterprise, set via --var:
|
|
# nomad_license = <content of Nomad license>
|