From 4c9c432ab812c7dc068724170f3d37b909cfeab5 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Mon, 30 Dec 2024 18:22:23 +0100 Subject: [PATCH] chore(terraform/dns): fix the builder CNAMEs They were not pointing to the right thing I think. Signed-off-by: Raito Bezarius --- terraform/dnsimple.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terraform/dnsimple.nix b/terraform/dnsimple.nix index f7f7dff..3487524 100644 --- a/terraform/dnsimple.nix +++ b/terraform/dnsimple.nix @@ -131,8 +131,8 @@ in # TODO: do not hardcode, just reuse the Colmena hive module outputs to generate all the required details. ] ++ (map (index: record "bm-${toString index}.wob01.infra" 300 "AAAA" "2a01:584:11::1:${toString index}") (genList lib.id 11)) - ++ (map (node: record "builder-${toString node.config.bagel.baremetal.builders.num}.wob01.infra" 300 "CNAME" "bm-${toString node.config.bagel.baremetal.num}") builderNodes) - ++ (map (node: record "storage-${toString node.config.bagel.baremetal.storage.num}.wob01.infra" 300 "CNAME" "bm-${toString node.config.bagel.baremetal.num}") storageNodes) + ++ (map (node: record "builder-${toString node.config.bagel.baremetal.builders.num}.wob01.infra" 300 "CNAME" "bm-${toString node.config.bagel.baremetal.num}.wob01.infra.forkos.org") builderNodes) + ++ (map (node: record "storage-${toString node.config.bagel.baremetal.storage.num}.wob01.infra" 300 "CNAME" "bm-${toString node.config.bagel.baremetal.num}.wob01.infra.forkos.org") storageNodes) ++ ( let # FIXME: figure out a way to poke `config.services.s3-revproxy` and