From 7b317fb26f0c0a921f3bbddacbef3af2e693f87b Mon Sep 17 00:00:00 2001 From: Andrea Grillo Date: Thu, 30 May 2024 15:31:08 +0200 Subject: [PATCH] [DEVEX-133] Fix the Storage Account name generation in Azure Functions App module (#31) --- infra/modules/azure_function_app/locals.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/modules/azure_function_app/locals.tf b/infra/modules/azure_function_app/locals.tf index c3ed43651..38397640e 100644 --- a/infra/modules/azure_function_app/locals.tf +++ b/infra/modules/azure_function_app/locals.tf @@ -18,7 +18,7 @@ locals { storage_account = { replication_type = var.tier == "test" ? "LRS" : "ZRS" - name = "${replace(local.project, "-", "")}${var.environment.domain}${var.environment.app_name}st${var.environment.instance_number}" + name = replace("${local.project}${var.environment.domain}${var.environment.app_name}st${var.environment.instance_number}", "-", "") } private_dns_zone = {