-
Hi gettek, I was checking out your repository for terraform-azurerm-policy-as-code , i get the basic understanding about how to use the modules but wanted to know if i don't have management group created for the policies, can i still create the policies based on the subscription id? Do i need to make more changes to code to achieve that or your example should work without much changes? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @Divyesh85, When you omit the management group ID, Terraform will create the definition/assignment at the current authenticated subscription scope or to target multiple subscriptions try using provider alias's |
Beta Was this translation helpful? Give feedback.
Hi @Divyesh85,
When you omit the management group ID, Terraform will create the definition/assignment at the current authenticated subscription scope or to target multiple subscriptions try using provider alias's