You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, the azurerm_storage_account resource does not allow for setting this value meaning storage accounts would imediately be non-compliant if built in this way. As a workaround we are using the azapi "type = "Microsoft.Storage/storageAccounts@2022-05-01" which does allow for this to be set in the json body but wee would prefer to use AzureRM.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Is there an existing issue for this?
Community Note
Description
We would like to implement the Azure built in policy for "Storage accounts should have shared access signature (SAS) policies configured"
(https://portal.azure.com/#view/Microsoft_Azure_Policy/PolicyDetailBlade/definitionId/%2Fproviders%2FMicrosoft.Authorization%2FpolicyDefinitions%2Fbc1b984e-ddae-40cc-801a-050a030e4fbe)
However, the azurerm_storage_account resource does not allow for setting this value meaning storage accounts would imediately be non-compliant if built in this way. As a workaround we are using the azapi "type = "Microsoft.Storage/storageAccounts@2022-05-01" which does allow for this to be set in the json body but wee would prefer to use AzureRM.
New or Affected Resource(s)/Data Source(s)
azurerm_storage_account
Potential Terraform Configuration
References
No response
The text was updated successfully, but these errors were encountered: