policy
claranet/policy/azurerm
Terraform module for Azure Policy
Azure Policy     This module creates an Azure Policy definition and assigns it to a list of scopes IDs (Azure Susbcriptions or Resource Groups). Global versioning rule for Claranet Azure modules | Module version | Terraform version | OpenTofu version | AzureRM version | | -------------- | ----------------- | ---------------- | --------------- | | >= 8.x.x | Unverified | 1.8.x | >= 4.0 | | >= 7.x.x | 1.3.x | | >= 3.0 | | >= 6.x.x | 1.x | | >= 3.0 | | >= 5.x.x | 0.15.x | | >= 2.0 | | >= 4.x.x | 0.13.x / 0.14.x | | >= 2.0 | | >= 3.x.x | 0.12.x | | >= 2.0 | | >= 2.x.x | 0.12.x | | < 2.0 | | < 2.x.x | 0.11.x | | < 2.0 | Contributing If you want
| Name | Type | Description | Default |
|---|---|---|---|
| display_name | string | The display name of the policy definition. | required |
| parameters_content | string | Parameters for the policy definition. This field is a json object that allows yo | required |
| assignments | map(object({ display_name | Map with maps to configure assignments. Map key is the name of the assignment. | required |
| rule_content | string | The policy rule for the policy definition. This is a json object representing th | required |
| mode | string | The policy mode that allows you to specify which resource types will be evaluate | "All" |
| mgmt_group_name | string | Create the Policy Definition at the Management Group level. | null |
| name_prefix | string | Optional prefix for the generated name. | "" |
| custom_name | string | The name of the policy definition. Defaults generated. | "" |
| description | string | The description of the policy definition. | "" |
| name_suffix | string | Optional suffix for the generated name. | "" |
definition_id — Azure policy definition ID.resource — Azure policy resource object.policy_assignments_identity_principal_id — The principal ID of the identity for policy assignments.policy_assignment_management_group_identity_principal_id — The principal ID of the identity for management group policy assignments.policy_assignment_subscription_identity_principal_id — The principal ID of the identity for subscription policy assignments.policy_assignment_resource_group_identity_principal_id — The principal ID of the identity for resource group policy assignments.policy_assignment_resource_identity_principal_id — The principal ID of the identity for resource-level policy assignments.Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,