diff --git a/terraform/gandi.nix b/terraform/gandi.nix index 1e36081..ee72816 100644 --- a/terraform/gandi.nix +++ b/terraform/gandi.nix @@ -77,7 +77,7 @@ in (record "netbox" 3600 "CNAME" ["meta01.infra.p"]) (record "amqp" 3600 "CNAME" ["bagel-box.infra.p"]) (record "grafana" 3600 "CNAME" ["meta01.infra.p"]) - (record "hydra" 3600 "CNAME" ["bagel-box.infra.p"]) + (record "hydra" 3600 "CNAME" ["build-coord.wob01.infra.p"]) (record "loki" 3600 "CNAME" ["meta01.infra.p"]) (record "mimir" 3600 "CNAME" ["meta01.infra.p"]) (record "matrix" 3600 "CNAME" ["meta01.infra.p"]) @@ -91,7 +91,7 @@ in (record "vpn-gw.wob01.infra" 3600 "AAAA" [ "2a01:584:11::2" ]) - (record "build-coord.wob01.infra" 3600 "AAAA" [ "2a01:584:11::1:11" ]) + (dualProxyRecords "build-coord.wob01.infra" 3600 "AAAA" [ "2a01:584:11::1:11" ]) # TODO: do not hardcode, just reuse the Colmena hive module outputs to generate all the required details. ] ++ map (index: record "builder-${toString index}.wob01.infra" 3600 "AAAA" [ "2a01:584:11::1:${toString index}" ]) (genList lib.id 11)); };