CloudNationHQ / terraform-azure-sa

Terraform module which creates storage resources used by workloads and accelerators.
https://library.tf/modules/CloudNationHQ/sa/azure/latest
MIT License
1 stars 2 forks source link

Issue when creating storage account #28

Closed MartijnCN closed 9 months ago

MartijnCN commented 9 months ago

I am getting the following errors:

│ Error: Unsupported attribute │ │ on .terraform/modules/spokebaseline.storage/main.tf line 67, in resource "azurerm_storage_account" "sa": │ 67: for_each = lookup(var.storage.blob_properties, "delete_retention_in_days", null) != null ? [1] : [] │ ├──────────────── │ │ var.storage is object with 3 attributes │ │ This object does not have an attribute named "blob_properties". ╵ ╷ │ Error: Unsupported attribute │ │ on .terraform/modules/spokebaseline.storage/main.tf line 74, in resource "azurerm_storage_account" "sa": │ 74: for_each = lookup(var.storage.blob_properties, "restore_policy", false) ? [1] : [] │ ├──────────────── │ │ var.storage is object with 3 attributes │ │ This object does not have an attribute named "blob_properties". ╵ ╷ │ Error: Unsupported attribute │ │ on .terraform/modules/spokebaseline.storage/main.tf line 82, in resource "azurerm_storage_account" "sa": │ 82: for_each = lookup(var.storage.blob_properties, "container_delete_retention_in_days", null) != null ? [1] : [] │ ├──────────────── │ │ var.storage is object with 3 attributes │ │ This object does not have an attribute named "blob_properties".

Seems to be related with the latest commit