terraform azurerm - registering azure provider
To register a specific provider, we typically would do the following.
az provider register --namespace Microsoft.PolicyInsights
You can do the same thing by running the following configuring the following in terraform:
resource "azurerm_resource_provider_registration" "policyregistration" {
name = "Microsoft.PolicyInsights"
}
Comments