Reputation: 11
DeployIfNotExists policy at Subscription level
In this Question's Answer, it was mentioned "Azure Policy is capable of deploying resources at the Subscription level". Does this mean Azure Policy can deploy resources only when the scope is a subscription/management? If the scope is a resource group then deployment won't work?
Upvotes: 1
Views: 1005
Reputation: 213
DeployIfNotExist effect can deploy at Subscription and at RG scope. You define it in deploymentScope attribute. RG is a default one. Details can be found https://learn.microsoft.com/en-us/azure/governance/policy/concepts/effects#deployifnotexists
Upvotes: 1