From b7d913b22f1a07d216b61c6457cd22f4e4900f29 Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Fri, 16 Aug 2024 08:50:35 +0200 Subject: [PATCH] tf/gandi: move hydra CNAME to build-coord --- terraform/gandi.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); };