Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation: How to deploy Policies #290

Open
1 task done
MiguelElGallo opened this issue Apr 13, 2022 · 1 comment
Open
1 task done

Documentation: How to deploy Policies #290

MiguelElGallo opened this issue Apr 13, 2022 · 1 comment
Labels
backlog Backlog item documentation Improvements or additions to documentation

Comments

@MiguelElGallo
Copy link

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 MiguelElGallo added backlog Backlog item documentation Improvements or additions to documentation labels Apr 13, 2022
@MiguelElGallo
Copy link
Author

@marvinbuss

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Backlog item documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant