title: How to enable "azurerm_security_center_subscription_pricing" across multiple resource in terraform
body: <p>I am trying to manage security center through TF resource, however have been hitting an error.</p>
  <p>This is how the code looks like:</p>
  <pre><code>resource &quot;azurerm_security_center_subscription_pricing&quot; &quot;example&quot; {
    count         = var.enabled &amp;&amp; var.subscription_pricing_enabled ? 1 : 0
    tier          = var.tier
    resource_type = &quot;VirtualMachines, AppServices, ContainerRegistry, KeyVaults, KubernetesService, SqlServers, SqlServerVirtualMachines, StorageAccounts, Arm, Dns&quot;
  
  </code></pre>
  <p>=========================================================================================================</p>
  <pre><code>Error: [0m[0m[1mexpected resource_type to be one of [AppServices ContainerRegistry KeyVaults KubernetesService SqlServers SqlServerVirtualMachines StorageAccounts VirtualMachines], got VirtualMachines, AppServices, ContainerRegistry, KeyVaults, KubernetesService, SqlServers, SqlServerVirtualMachines, StorageAccounts, Arm, Dns[0m
  2021-04-03T07:20:07.7838074Z 
  2021-04-03T07:20:07.7838690Z [0m  on primary_azure_defender.tf line 54, in resource &quot;azurerm_security_center_subscription_pricing&quot; &quot;example&quot;:
  2021-04-03T07:20:07.7839390Z   54: resource &quot;azurerm_security_center_subscription_pricing&quot; &quot;example&quot; [4m{[0
  
  </code></pre>
  <p>Any help on this is greatly appreciated.</p>
  <p>Documentation doesn't provide much details on this usage: <a href="https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/security_center_subscription_pricing" rel="nofollow noreferrer">https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/security_center_subscription_pricing</a></p>