diff --git a/e2e/terraform/provision-nomad/tls.tf b/e2e/terraform/provision-nomad/tls.tf index bd11b7faa5d..fa3dd20733f 100644 --- a/e2e/terraform/provision-nomad/tls.tf +++ b/e2e/terraform/provision-nomad/tls.tf @@ -9,10 +9,10 @@ resource "tls_private_key" "nomad" { resource "tls_cert_request" "nomad" { private_key_pem = tls_private_key.nomad.private_key_pem ip_addresses = [var.instance.public_ip, var.instance.private_ip, "127.0.0.1"] - dns_names = ["${var.role}.global.nomad"] + dns_names = ["${var.role}.e2e.nomad"] subject { - common_name = "${var.role}.global.nomad" + common_name = "${var.role}.e2e.nomad" } }