Skip to content

Commit

Permalink
[DEVEX-133] Fix the Storage Account name generation in Azure Function…
Browse files Browse the repository at this point in the history
…s App module (#31)
  • Loading branch information
Krusty93 authored May 30, 2024
1 parent 160f3dd commit 7b317fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infra/modules/azure_function_app/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 7b317fb

Please sign in to comment.