avm-utl-interfaces
Azure/avm-utl-interfaces/azure
Terraform Azure Verified Utility Module for AVM Interfaces
terraform-azure-avm-utl-interfaces This module helps AzAPI module authors satisfy the interface requirements of Azure Verified Modules. It deploys no resources. It translates data from the standard variable inputs and generates resource data for AzAPI resources! Please see the examples for usage. Example usage ``hcl module "avm_interfaces" { source = "Azure/avm-utl-interfaces/azure" diagnostic_settings = var.diagnostic_settings } resource "azapi_resource" "diag_settings" { for_each = module.avm_interfaces.diagnostic_settings_azapi type = each.value.type body = each.value.body name = each.value.name parent_id = azapi_resource.my_resource.parent_id } ` Role assignments This module will also translate role definition names into role definition resource ids. You can control this with the role_
| Name | Type | Description | Default |
|---|---|---|---|
| private_endpoints_scope | string | This is typically the resource ID of the resource that the private endpoint is c | null |
| role_assignment_definition_lookup_enabled | bool | A control to disable the lookup of role definitions when creating role assignmen | true |
| role_assignment_name_use_random_uuid | bool | A control to use a random UUID for the role assignment name. If set to false, th | false |
| role_assignments | map(object({ role_definiti | A map of role assignments to create. The map key is deliberately arbitrary to | {} |
| customer_managed_key_key_vault_domain | string | The domain name for the key vault. Default is `vault.azure.net`. | "vault.azure.net" |
| lock | object({ kind = string | Controls the resource lock configuration for this resource. The following prop | null |
| managed_identities | object({ system_assigned | Controls the managed identity configuration on this resource. The following pr | {} |
| private_endpoints_manage_dns_zone_group | bool | Whether to manage private DNS zone groups with this module. If set to false, you | true |
| role_assignment_definition_scope | string | The scope at which the role assignments should be created. Used to look up role | null |
| enable_telemetry | bool | This variable controls whether or not telemetry is enabled for the module. For m | true |
| customer_managed_key | object({ key_vault_resourc | An object containing the following attributes: - `key_vault_resource_id` - The | null |
| diagnostic_settings | map(object({ name | A map of diagnostic settings to create. The map key is deliberately arbitrary | {} |
| diagnostic_settings_v2 | map(object({ name = option | A map of diagnostic settings to create. The map key is deliberately arbitrary | {} |
| private_endpoints | map(object({ name = option | A map of private endpoints to create. The map key is deliberately arbitrary to | {} |
diagnostic_settings_azapi — A map of diagnostic settings for use in azapi_resource, the value is an object containing the followlock_azapi — An object for use in azapi_resource with the following attributes:
- `type` - The type of the resoumanaged_identities_azapi — The Managed Identity configuration for the azapi_resource.
Value is an object with the following attrole_assignments_azapi — A map of role assignments for use in azapi_resource, the value is an object containing the followingrole_assignments_private_endpoint_azapi — A flattened map of role assignments for private endpoints, the value is an object containing the folcustomer_managed_key_azapi — An object containing the following attributes:
- `identity_client_id` - The client ID of the user-adiagnostic_settings_azapi_v2 — A map of diagnostic settings for use in azapi_resource, the value is an object containing the followlock_private_endpoint_azapi — A flattened map of objects containing for use in azapi_resource with the following attributes:
- `pprivate_dns_zone_groups_azapi — A map of private DNS zone groups for use with azapi_resource, the value is an object containing the private_endpoints_azapi — A map of private endpoints for use with azapi_resource, the value is an object containing the follow