avm-res-network-networksecuritygroup
Azure/avm-res-network-networksecuritygroup/azurerm
Terraform Azure Verified Resource Module for Network Security Group
terraform-azurerm-avm-res-network-networksecuritygroup NOTE: This module follows the semantic versioning and versions prior to 1.0.0 should be consider pre-release versions. This is the Network Security Group resource module for the Azure Verified Modules library. This module deploys a Azure Network Security Group and give availability to manage rules. It leverages the AzureRM provider and sets a number of initial defaults to minimize the overall inputs for simple configurations. Requirements The following requirements are needed by this module: - terraform (>= 1.9, azapi (~> 2.4) - azurerm (~> 4.0) - modtm (~> 0.3) - random (~> 3.5) Resources The following resources are used by this module: - azurerm_management_lock.this (resource) - azurerm_monitor_diagnostic_setting.this (resource) - az
| Name | Type | Description | Default |
|---|---|---|---|
| name | string | (Required) Specifies the name of the network security group. Changing this force | required |
| location | string | (Required) Specifies the supported Azure location where the resource exists. Cha | required |
| resource_group_name | string | (Required) The name of the resource group in which to create the network securit | required |
| diagnostic_settings | map(object({ name | A map of diagnostic settings to create on the Key Vault. The map key is delibera | {} |
| enable_telemetry | bool | This variable controls whether or not telemetry is enabled for the module. For m | true |
| lock | object({ kind = string | Controls the Resource Lock configuration for this resource. The following proper | null |
| role_assignments | map(object({ role_definiti | A map of role assignments to create on this resource. The map key is deliberatel | {} |
| tags | map(string) | (Optional) A mapping of tags to assign to the resource. | null |
| timeouts | object({ create = optional | - `create` - (Defaults to 30 minutes) Used when creating the Network Security Gr | null |
| security_rules | map(object({ access | - `access` - (Required) Specifies whether network traffic is allowed or denied. | {} |
security_rules — The Network Security Group Rulesname — The name of the Network Security Group resourceresource_id — The id of the Network Security Group resource