Skip to content

Commit

Permalink
Merge pull request #38 from leancodepl/fix/storage-container-storage-…
Browse files Browse the repository at this point in the history
…reference

Use non-deprecated way of referencing azure storage from container
  • Loading branch information
Dragemil authored Jan 24, 2025
2 parents b8df48a + f0d81d1 commit a7d9d14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azure_blob_storage/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a7d9d14

Please sign in to comment.