All Projects → andrewmatveychuk → azure.policy

andrewmatveychuk / azure.policy

Licence: MIT license
Sample ARM and Bicep templates for Azure policy and policy initiative definitions

Programming Languages

Bicep
55 projects

Projects that are alternatives of or similar to azure.policy

aks-baseline-regulated
This is the Azure Kubernetes Service (AKS) baseline cluster for regulated workloads reference implementation as produced by the Microsoft Azure Architecture Center.
Stars: ✭ 73 (+151.72%)
Mutual labels:  azure-policy
awesome-azure-policy
A curated list of blogs, videos, tutorials, code, tools, scripts, and anything useful to help you learn Azure Policy - by @jesseloudon
Stars: ✭ 313 (+979.31%)
Mutual labels:  azure-policy
AzureContainerInstancesManagement
Hosting game servers at scale using Azure Container Instances, using Azure Functions and Event Grid. Demo with OpenArena game server!
Stars: ✭ 41 (+41.38%)
Mutual labels:  arm-templates
runiac
Run IaC Anywhere With Ease
Stars: ✭ 18 (-37.93%)
Mutual labels:  arm-templates
azure-event-driven-data-pipeline
Building event-driven data ingestion pipelines in Azure
Stars: ✭ 13 (-55.17%)
Mutual labels:  arm-templates
armkit
Define infrastructure resources using programming constructs and provision them using Azure ARM templates
Stars: ✭ 50 (+72.41%)
Mutual labels:  arm-templates
sitecore-azure-devops
Sitecore 8.2u5 DevOps Scripts
Stars: ✭ 15 (-48.28%)
Mutual labels:  arm-templates
Azure Quickstart Templates
Azure Quickstart Templates
Stars: ✭ 11,138 (+38306.9%)
Mutual labels:  arm-templates
PSBicep
This is the repo for the Bicep PowerShell Module.
Stars: ✭ 67 (+131.03%)
Mutual labels:  arm-templates
azure-arm
My ARM template library
Stars: ✭ 15 (-48.28%)
Mutual labels:  arm-templates
Azure.DataFactory.LocalEnvironment
This code allows you to load any existing Azure Data Factory project file (*.dfproj) and perform further actions like "Export to ARM Template" or to debug custom C# activities
Stars: ✭ 25 (-13.79%)
Mutual labels:  arm-templates
azure-policy-as-code
Bicep and Terraform code examples for policy-as-code workflows. Azure governance guardrails and automation - by @jesseloudon
Stars: ✭ 101 (+248.28%)
Mutual labels:  azure-policy

azure.policy

Sample ARM and Bicep(!) templates for Azure policy and policy initiative definitions.

Before starting to work with these templates, read the information in the following blog posts according to your points of interest:

Build status

Build Status

Getting Started

To start working with this project, clone the repository to your local machine and look for the artifacts in the specific folders:

  • linked templates - contains sample ARM templates for policy and initiative definitions plus their assignments grouped by logical area
  • main-template - contains master ARM template to perform deployments of all policies and initiatives to a subscription

Build and Test

To create definitions and assignments for policies and initiatives in the target subscription or resource group, use the following build order:

  1. Deploy policy definitions

  2. Deploy policy initiatives

  3. (Optionally) Create a resource group to be used as a target for assignments during testing policy effects

  4. Create policy and initiative assignments

Things to remember

  1. Pay attention to the format of parameters as there are cases when they should be provided as an object type. Look into existing policies and initiatives for examples.

  2. When using deployment scripts in the build/release pipelines, define the script variables in the pipeline ones.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].