I'm getting this error after trying to deploy a data lake storage container:
│ Error: checking for existence of existing File System "data" (Account "example-storage-account"): datalakestore.Client#GetProperties: Failure responding to request: StatusCode=403 -- Original Error: autorest/azure: error response cannot be parsed: "" error: EOF
│
│ with module.delta_lake.azurerm_storage_data_lake_gen2_filesystem.this,
│ on modules/delta-lake/main.tf line 11, in resource "azurerm_storage_data_lake_gen2_filesystem" "this":
│ 11: resource "azurerm_storage_data_lake_gen2_filesystem" "this" {
I've used the same code without any issues multiple times, including once on the same subscription.
I think that the issue might have happened when I run terraform apply previously and it crashed, because of some other reason, during which it might have queried the rest API too many times, but I might be wrong.
the relevant code snippet:
resource "azurerm_storage_account" "this" {
name = var.name
resource_group_name = var.rg_name
location = var.location
account_tier = "Standard"
account_replication_type = "LRS"
account_kind = "StorageV2"
is_hns_enabled = "true"
}
resource "azurerm_storage_data_lake_gen2_filesystem" "this" {
name = "data"
storage_account_id = azurerm_storage_account.this.id
}