~damien/infrastructure

7ea12ceb583dc09f522a41d9eafb852651fd3c36 — Damien Radtke 9 months ago 40e0785
Remove ipv4 hostname from nomad-server
1 files changed, 1 insertions(+), 1 deletions(-)

M terraform/nomad-server/main.tf
M terraform/nomad-server/main.tf => terraform/nomad-server/main.tf +1 -1
@@ 168,7 168,7 @@ resource "linode_instance" "servers" {
    connection { host = split("/", self.ipv6)[0] }
    inline = [
      "/usr/local/bin/issue-cert.sh --user consul --ca consul --name consul",
      "/usr/local/bin/issue-cert.sh --user nomad --ca nomad --name nomad --hostnames nomad.service.consul,server.global.nomad,${split("/", self.ipv6)[0]},${self.ipv4}",
      "/usr/local/bin/issue-cert.sh --user nomad --ca nomad --name nomad --hostnames nomad.service.consul,server.global.nomad,${split("/", self.ipv6)[0]}",
      "/usr/local/bin/issue-cert.sh --user nomad --ca nomad --name cli",
      "/usr/local/bin/issue-cert.sh --user nomad --ca consul --name consul",
      "/usr/local/bin/issue-cert.sh --user nomad --ca vault --name vault",