https://github.com/globalbao/azure-policy-as-code
Bicep and Terraform code examples for policy-as-code workflows. Azure governance guardrails and automation - by @JesseLoudon
https://github.com/globalbao/azure-policy-as-code
armtemplates azure azure-policy azuredevops azurepolicy azurerm bicep cicd custom-policies devops policy-as-code terraform terraform-azurerm
Last synced: 20 days ago
JSON representation
Bicep and Terraform code examples for policy-as-code workflows. Azure governance guardrails and automation - by @JesseLoudon
- Host: GitHub
- URL: https://github.com/globalbao/azure-policy-as-code
- Owner: globalbao
- License: mit
- Created: 2021-03-06T02:05:11.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-20T04:59:58.000Z (about 1 year ago)
- Last Synced: 2024-11-08T19:42:59.563Z (6 months ago)
- Topics: armtemplates, azure, azure-policy, azuredevops, azurepolicy, azurerm, bicep, cicd, custom-policies, devops, policy-as-code, terraform, terraform-azurerm
- Language: HCL
- Homepage: https://globalbao.github.io/azure-policy-as-code
- Size: 1.6 MB
- Stars: 175
- Watchers: 19
- Forks: 82
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-azure-policy - globalbao/azure-policy-as-code
- AWESOME-Azure-Bicep - globalbao/azure-policy-as-code
README
# Azure-Policy-As-Code
[](https://github.com/globalbao/azure-policy-as-code/actions/workflows/Bicep-CI-Tests.yml) [](https://github.com/globalbao/azure-policy-as-code/actions/workflows/Bicep-CD-Tests.yml) [](https://github.com/globalbao/azure-policy-as-code/actions/workflows/Terraform-CI-Tests.yml) [](https://github.com/globalbao/azure-policy-as-code/actions/workflows/Terraform-CD-Tests.yml) [](https://open.vscode.dev/globalbao/azure-policy-as-code)Azure Policy as Code is the combination of IaC and DevOps ensuring governance at scale is shifted away from click-ops and after-hours support towards a codified, policy-driven strategy.
This repo contains working modules for `Bicep` and `Terraform` usage, plus `YAML` CI/CD workflows which you can use today.
## Community Content | Azure Policy as Code
- [x] :star: Slides available for download (PDF)
- [x] :star: Recorded sessions (YouTube)#### How To: Build Your Own Policy ID Library (JSON) with PowerShell [ :floppy_disk: [slides](https://jloudon.com/assets/pdfs/HowTo-JSONPolicyLibraryWithPowerShell.pdf) ]
#### Azure Back to School 2021: Bicep Builders: Azure Sentinel and Policy as Code
[](https://youtu.be/B03V3Tazcec)#### DevOps Sydney 2021: Automating Infrastructure Governance with Azure Policy [ :floppy_disk: [slides](https://jloudon.com/assets/pdfs/SydDevOps2021_AutomateInfraGovWithAzPolicy.pdf) ]
[](https://youtu.be/dPwy8nlNyNM?t=570)#### Azure Sydney User Group 2021: Azure Policy as Code - Zero to Hero in 60 minutes [ :floppy_disk: [slides](https://jloudon.com/assets/pdfs/AzureSydUserGroup2021_PolicyAsCode_ZeroToHero60min.pdf) ]
[](https://youtu.be/AVn5glYBz84?t=2380)#### Global Azure 2021: Policy as Code with Bicep for Enterprise Scale [ :floppy_disk: [slides](https://jloudon.com/assets/pdfs/GlobalAzure2021_PolicyAsCodeWithBicepForEnterpriseScale.pdf) ]
[](https://youtu.be/qpnMJXw6pIg)