type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.terraform.azure.EnableAzureStorageAccountTrustedMicrosoftServicesAccess
displayName: Enable Azure Storage Account Trusted Microsoft Services access
description: Certain Microsoft services that interact with storage accounts operate from networks that cannot be granted access through network rules. Using this configuration, you can allow the set of trusted Microsoft services to bypass those network rules.
- org.openrewrite.terraform.AddConfiguration:
resourceName: azurerm_storage_account
content: bypass = ["AzureServices"]
- org.openrewrite.terraform.AddConfiguration:
resourceName: azurerm_storage_account_network_rules
content: bypass = ["AzureServices"]