mirror of
https://github.com/kemko/nomad.git
synced 2026-01-03 17:05:43 +03:00
Add an upgrade test workload for Consul service mesh with transparent proxy. Note this breaks from the "countdash" demo. The dashboard application only can verify the backend is up by making a websocket connection, which we can't do as a health check, and the health check it exposes for that purpose only passes once the websocket connection has been made. So replace the dashboard with a minimal nginx reverse proxy to the count-api instead. Ref: https://hashicorp.atlassian.net/browse/NET-12217
62 lines
1.3 KiB
HCL
62 lines
1.3 KiB
HCL
# Copyright (c) HashiCorp, Inc.
|
|
# SPDX-License-Identifier: BUSL-1.1
|
|
|
|
output "servers" {
|
|
value = module.provision-infra.servers
|
|
}
|
|
|
|
output "linux_clients" {
|
|
value = module.provision-infra.linux_clients
|
|
}
|
|
|
|
output "windows_clients" {
|
|
value = module.provision-infra.windows_clients
|
|
}
|
|
|
|
output "message" {
|
|
value = module.provision-infra.message
|
|
}
|
|
|
|
output "nomad_addr" {
|
|
value = module.provision-infra.nomad_addr
|
|
}
|
|
|
|
output "ca_file" {
|
|
value = module.provision-infra.ca_file
|
|
}
|
|
|
|
output "cert_file" {
|
|
value = module.provision-infra.cert_file
|
|
}
|
|
|
|
output "key_file" {
|
|
value = module.provision-infra.key_file
|
|
}
|
|
|
|
output "nomad_token" {
|
|
value = module.provision-infra.nomad_token
|
|
sensitive = true
|
|
}
|
|
|
|
output "consul_token" {
|
|
value = module.provision-infra.consul_token
|
|
sensitive = true
|
|
}
|
|
|
|
output "consul_addr" {
|
|
value = module.provision-infra.consul_addr
|
|
}
|
|
|
|
output "cluster_unique_identifier" {
|
|
value = module.provision-infra.cluster_unique_identifier
|
|
}
|
|
|
|
# Note: Consul and Vault environment needs to be set in test
|
|
# environment before the Terraform run, so we don't have that output
|
|
# here
|
|
output "environment" {
|
|
description = "get connection config by running: $(terraform output environment)"
|
|
sensitive = true
|
|
value = module.provision-infra.environment
|
|
}
|