From f944a8b794ca7f1a859c2e3937f6e2bba9317001 Mon Sep 17 00:00:00 2001 From: Russell Day Date: Fri, 26 Apr 2024 11:19:16 +0100 Subject: [PATCH] Fix hostname for production (#12) --- terraform/locals.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/locals.tf b/terraform/locals.tf index d6fce8f..2e7e730 100644 --- a/terraform/locals.tf +++ b/terraform/locals.tf @@ -1,5 +1,5 @@ locals { resource_prefix = "pocketddd-${var.env}" sql_server_name = "${local.resource_prefix}-sql-server" - subdomain = var.env == "prod" ? "pocket" : "pocket-${var.env}" + subdomain = var.env == "production" ? "pocket" : "pocket-${var.env}" } \ No newline at end of file