Azure / data-management-zone

Template to deploy the Data Management Zone of Cloud Scale Analytics (former Enterprise-Scale Analytics). The Data Management Zone provides data governance and management capabilities for the data platform of an organization.
MIT License
168 stars 85 forks source link

Documentation: How to deploy Policies #290

Open MiguelElGallo opened 2 years ago

MiguelElGallo commented 2 years ago

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 commented 2 years ago

@marvinbuss