policy-exemptions

globalbao/policy-exemptions/azurerm

Terraform Module HCL AZURERM ⏱ stale 2y 6mo

Terraform module for managing AzureRM policy exemptions (via ARM template) - by @JesseLoudon

Install

module "policy-exemptions" {
source = "globalbao/policy-exemptions/azurerm"
version = "0.3.0"
}
⭐ Source on GitHub 📦 Registry page

README

Terraform AzureRM Policy Exemptions Uses a Terraform Resource Group Template Deployment for managing Azure Policy Exemptions. Learn more about Azure Policy Exemptions > Note: Terraform v0.13 or greater is required to use this module. Download the latest Terraform at https://www.terraform.io/downloads.html Example Usage Create 1 policy exemption for resources in an RG to be exempt from policies in an assignment. Create 1 policy exemption for a Virtual Machine to be exempt from policies in an assignment. Create 3 policy exemptions for resources in selected RGs to be exempt from policies in selected assignments. Create 2 policy exemptions targeting resources in 2 RGs in 2 subscriptions. > Complete example code can be found here: terraform-azurerm-policy-exemptions/tree/main/examples Create 1

Inputs (1)

NameTypeDescriptionDefault
policyExemptionsmap(object({ deploymentMod ***For policyExemptions ARM template specs see https://docs.microsoft.com/en{}

Outputs (2)

variables — Outputs the policy exemption variables
template_deployment — Outputs the policy exemption ARM template

Resources (1)

azurerm_resource_group_template_deployment

Details

FrameworkTerraform Module
LanguageHCL
Version0.3.0
Cloud AZURERM
★ Stars6
Forks7
Total downloads851.7k
Inputs1
Outputs2
Resources1
Examples3
LicenseMIT
Namespaceglobalbao
Updated