open-nomad/e2e/terraform/shared/vault/vault.hcl
Tim Gross 8be403f47b
e2e: refactor Vault configuration (#6561)
Match the configuration directory layout we're using for Consul and
other services. Make recommended changes from `shellcheck` for this
section of the provisioning script.
2019-10-25 15:29:01 -04:00

13 lines
329 B
HCL

backend "consul" {
path = "vault/"
address = "{{ GetPrivateIP }}:8500"
cluster_addr = "https://{{ GetPrivateIP }}:8201"
redirect_addr = "http://{{ GetPrivateIP }}:8200"
}
listener "tcp" {
address = "{{ GetPrivateIP }}:8200"
cluster_address = "{{ GetPrivateIP }}:8201"
tls_disable = 1
}