When running "terraform apply", the following error occurs:
Error: Unsupported argument
on .terraform/modules/shared_infra/storage.tf line 21, in resource "azurerm_storage_account" "components":
21: allow_blob_public_access = true
An argument named "allow_blob_public_access" is not expected here.
Summary
When running "terraform apply", the following error occurs:
Details
From azurerm 3.0 and above, allow_blob_public_access is no longer supported https://github.com/hashicorp/terraform-provider-azurerm/issues/16128 The fix should simply be to rename it to "allow_nested_items_to_be_public"