diff --git a/terraform/gandi.nix b/terraform/gandi.nix index 4610dcc..9dd3ceb 100644 --- a/terraform/gandi.nix +++ b/terraform/gandi.nix @@ -96,6 +96,19 @@ in (dualProxyRecords "build-coord.wob01.infra" 300 "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" 300 "AAAA" [ "2a01:584:11::1:${toString index}" ]) (genList lib.id 11)); + ] + ++ (map (index: record "builder-${toString index}.wob01.infra" 300 "AAAA" [ "2a01:584:11::1:${toString index}" ]) (genList lib.id 11)) + ++ ( + let + # FIXME: figure out a way to poke `config.services.s3-revproxy` and + # automate the DNS part away? + buckets = [ + "channels" + "releases" + "channel-scripts-test" + ]; + in + map (bucket: record "${bucket}" 300 "CNAME" [ "public01.infra.p" ]) buckets + )); }; }