Skip to content

Commit

Permalink
[#IOPID-1023] Updated storage account name (#740)
Browse files Browse the repository at this point in the history
  • Loading branch information
silvicir authored Nov 27, 2023
1 parent 8d1c4a4 commit 4d72285
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/domains/citizen-auth-common/03_storage.tf
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ resource "azurerm_storage_container" "lv_audit_logs_storage_logs" {
module "io_citizen_auth_storage" {
source = "git::https://github.com/pagopa/terraform-azurerm-v3//storage_account?ref=v6.1.0"

name = replace(format("%s-st", local.product), "-", "")
name = replace(format("%s-st", local.project), "-", "")
domain = upper(var.domain)
account_kind = "StorageV2"
account_tier = "Standard"
Expand Down Expand Up @@ -186,7 +186,7 @@ resource "azurerm_private_endpoint" "table" {
}

resource "azurerm_storage_table" "unique_emails" {
depends_on = [module.io_citizen_auth_storage]
depends_on = [module.io_citizen_auth_storage, azurerm_private_endpoint.table]
name = "uniqueEmails"
storage_account_name = module.io_citizen_auth_storage.name
}

0 comments on commit 4d72285

Please sign in to comment.