For ADLS gen 2 storage accounts (when hierarchical namespacing is enabled), file systems (similar to containers in blobs) can be created. Therefore, the azurerm_storage_data_lake_gen2_filesystem resource needs to be added to this module.
Potential Terraform Configuration
main.tf
# file systems
resource "azurerm_storage_data_lake_gen2_filesystem" "fs" {
for_each = {
for fs in local.file_systems : fs.fs_key => fs
}
name = each.value.name
storage_account_id = each.value.storage_account_id
default_encryption_scope = each.value.default_encryption_scope
properties = each.value.properties
owner = each.value.owner
group = each.value.group
ace = each.value.ace
}
Also azurerm_storage_data_lake_gen2_path will be added as a resource, which is a child resource of the file systems.
These resources will be added as outputs as well.
Is there an existing issue for this?
Description
For ADLS gen 2 storage accounts (when hierarchical namespacing is enabled), file systems (similar to containers in blobs) can be created. Therefore, the azurerm_storage_data_lake_gen2_filesystem resource needs to be added to this module.
Potential Terraform Configuration
main.tf
locals.tf
References
No response