Azure / Azure/data-management-zone

Documentation: How to deploy Policies

Open
#290 1 comment 0 reactions 0 assignees View on GitHub
backlog documentation
Dominant language
Bicep
Stars
180
Forks
95
PR merge metrics
No merged PRs in 30d

Description

### 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

- [X] I agree to follow this project's [Code of Conduct](https://github.com/Azure/data-management-zone/blob/main/CODE_OF_CONDUCT.md)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.