From 48fa2de262dbdcc638fafe50232d684a609ae9f9 Mon Sep 17 00:00:00 2001 From: Niklas van Schrick Date: Sat, 17 Oct 2026 01:22:31 +0200 Subject: [PATCH] Add missing DNS for REST action --- system/staging/main.tf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/system/staging/main.tf b/system/staging/main.tf index 8d217efb..7e4f16b2 100644 --- a/system/staging/main.tf +++ b/system/staging/main.tf @@ -62,6 +62,7 @@ resource "cloudflare_dns_record" "server_cname_code0_tech" { resource "cloudflare_dns_record" "server_cname_codezero_build" { for_each = toset([ "crater-staging.codezero.build", + "rest-staging.codezero.build", ]) name = each.value @@ -80,6 +81,7 @@ module "proxy" { certificate_hostnames = [ "signoz.code0.tech", "crater-staging.codezero.build", + "rest-staging.codezero.build", ] } @@ -112,7 +114,7 @@ module "codezero_rest_action" { } additional_envs = [ - "VIRTUAL_HOST=staging-rest.codezero.build" + "VIRTUAL_HOST=rest-staging.codezero.build" ] docker_networks = [ module.proxy.docker_proxy_network_name,