我试图用地变法来创建3个数据片,因为我遇到了403个错误。
我还试图创建SP 并设置Blob阅读器角色。
在下面找到我的代码和错误者
Terraform v1.2.1 on windows_amd64
- provider registry.terraform.io/hashicorp/azuread v2.22.0
- provider registry.terraform.io/hashicorp/azurerm v3.7.0
resource "azurerm_storage_data_lake_gen2_filesystem" "stg-datalake" {
for_each = toset(["bronze", "silver", "gold"])
name = each.value
storage_account_id = azurerm_storage_account.stg-datalake.id
ace {
scope = "access"
type = "user"
id = azurerm_data_factory.adf.identity[0].principal_id
permissions = "rwx"
}
}
Error: Error: checking for existence of existing File System "gold" (Account "stgaclientteste"): datalakestore.Client#GetProperties: Failure responding to request: StatusCode=403 -- Original Error: autorest/azure: error response cannot be parsed: {"" x00 x00 } error: EOF