From f0d81d1e643d9be5808779acb7f56e9bde0747c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emil=20Draga=C5=84czuk?= Date: Fri, 24 Jan 2025 15:58:35 +0100 Subject: [PATCH] Use non-deprecated way of referencing azure storage from container --- azure_blob_storage/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure_blob_storage/main.tf b/azure_blob_storage/main.tf index 44fa538..dc2f780 100644 --- a/azure_blob_storage/main.tf +++ b/azure_blob_storage/main.tf @@ -61,7 +61,7 @@ resource "azurerm_storage_account" "storage" { resource "azurerm_storage_container" "containers" { for_each = var.blob_containers - storage_account_name = azurerm_storage_account.storage.name + storage_account_id = azurerm_storage_account.storage.id name = each.key container_access_type = each.value.access_type #tfsec:ignore:azure-storage-no-public-access