Files
nomad/e2e/terraform/main.tf
Tim Gross fbcdb125da end-to-end testing improvements for CSI (#26834)
While working on #26831 and #26832 I made some minor improvements to our
end-to-end test setup for CSI:

* bump the AWS EBS plugin versions to latest release (1.48.0)
* remove the unnnecessary `datacenters` field from the AWS EBS plugin jobs
* add a name tag to the EBS volumes we create
* add a user-specific name tag to the cluster name when using the makefile to
  deploy a cluster
* add volumes and other missing variables from the `provision-infra` module to
  the main E2E module

Ref: https://github.com/hashicorp/nomad/pull/26832
Ref: https://github.com/hashicorp/nomad/pull/26831
2025-09-25 09:27:15 -04:00

33 lines
1.5 KiB
HCL

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
provider "aws" {
region = var.region
}
module "provision-infra" {
source = "./provision-infra"
name = var.name
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
volumes = var.volumes
availability_zone = var.availability_zone
aws_kms_alias = var.aws_kms_alias
hcp_hvn_cidr = var.hcp_hvn_cidr
hcp_vault_cluster_id = var.hcp_vault_cluster_id
hcp_vault_namespace = var.hcp_vault_namespace
region = var.region
restrict_ingress_cidrblock = var.restrict_ingress_cidrblock
}