From 5241ff95d5e38c0d81ebc4cc167e2978f891a6d2 Mon Sep 17 00:00:00 2001 From: magodo Date: Mon, 12 Aug 2024 10:41:20 +0800 Subject: [PATCH] `azurerm_storage_account` data source - Add supports for `default_share_level_permission` --- internal/services/storage/storage_account_data_source.go | 4 ++++ website/docs/d/storage_account.html.markdown | 2 ++ 2 files changed, 6 insertions(+) diff --git a/internal/services/storage/storage_account_data_source.go b/internal/services/storage/storage_account_data_source.go index d9a115624136..8376b0c938d3 100644 --- a/internal/services/storage/storage_account_data_source.go +++ b/internal/services/storage/storage_account_data_source.go @@ -525,6 +525,10 @@ func dataSourceStorageAccount() *pluginsdk.Resource { }, }, }, + "default_share_level_permission": { + Type: pluginsdk.TypeString, + Computed: true, + }, }, }, }, diff --git a/website/docs/d/storage_account.html.markdown b/website/docs/d/storage_account.html.markdown index c36dc341e873..be2f87a76a4c 100644 --- a/website/docs/d/storage_account.html.markdown +++ b/website/docs/d/storage_account.html.markdown @@ -243,6 +243,8 @@ output "storage_account_tier" { * `active_directory` - An `active_directory` block as documented below. +* `default_share_level_permission` - The default share level permissions applied to all users. + --- `active_directory` supports the following: