Files
nomad/e2e/terraform/main.tf
Tim Gross 767683ce3e E2E: allow setting instance_type variable (#26607)
When we refactored the E2E provisioning to allow it to be reused by the upgrade
testing, we didn't thread the `instance_type` variable from the main module down
into the `provision-infra` module. This prevents you from setting a custom
instance size when deploying the E2E cluster manually.
2025-08-22 15:22:10 -04:00

25 lines
1.0 KiB
HCL

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
provider "aws" {
region = var.region
}
module "provision-infra" {
source = "./provision-infra"
server_count = var.server_count
client_count_linux = var.client_count_linux
client_count_windows_2022 = var.client_count_windows_2022
nomad_local_binary_server = var.nomad_local_binary_server
nomad_local_binary = var.nomad_local_binary
nomad_local_binary_client_ubuntu_jammy = var.nomad_local_binary_client_ubuntu_jammy
nomad_local_binary_client_windows_2022 = var.nomad_local_binary_client_windows_2022
nomad_license = var.nomad_license
consul_license = var.consul_license
nomad_region = var.nomad_region
instance_arch = var.instance_arch
instance_type = var.instance_type
name = var.name
}