data-management-zone icon indicating copy to clipboard operation
data-management-zone copied to clipboard

Documentation: How to deploy Policies

Open MiguelElGallo opened this issue 3 years ago • 1 comments
trafficstars

Documentation Issue

Hello, It is possible to include some example how to deploy policies?

Example: https://github.com/Azure/data-management-zone/blob/main/infra/Policies/PolicyDefinitions/Synapse/params.policyDefinition.Append-Synapse-Purview.json

This policy needs the value for "[parameters('purviewResourceId')]"

If we want to deploy to Subscription we can use: az deployment sub create -l northeurope -f deploy.policyDefinition.sub.json -p ./PolicyDefinitions/Synapse/params.policyDefinition.Append-Synapse-Purview.json

But I fail to understand two things:

  1. How we can pass the value for the parameter purviewResourceId
  2. how to "mass" deploy multiple policies using a single parameter file

Thanks!

Code of Conduct

MiguelElGallo avatar Apr 13 '22 12:04 MiguelElGallo

@marvinbuss

MiguelElGallo avatar Apr 19 '22 10:04 MiguelElGallo