avm-res-network-virtualnetwork

Azure/avm-res-network-virtualnetwork/azurerm

Terraform Module HCL AZURERM ✓ Verified

Terraform Azure Verified Resource Module for Virtual Network

Install
module "avm-res-network-virtualnetwork" {
source = "Azure/avm-res-network-virtualnetwork/azurerm"
version = "0.17.1"
}
⭐ Source on GitHub 📦 Registry page
README

Azure Virtual Network Module This module is used to manage Azure Virtual Networks, Subnets and Peerings, with optional IPAM (IP Address Management) support. This module is composite and includes sub modules that can be used independently for pre-existing virtual networks. These sub modules are: - subnet - The subnet module is used to manage subnets within a virtual network. - peering - The peering module is used to manage virtual network peerings. Features This module supports managing virtual networks and their associated subnets and peerings together or independently. The module supports: - Creating a new virtual network - Creating a new subnet - Creating a new virtual network peering - Associating DNS servers with a virtual network - Associating a DDOS protection plan with a virtual net

Inputs (21)
NameTypeDescriptionDefault
locationstring(Optional) The location/region where the virtual network is created. Changing th required
parent_idstring(Optional) The ID of the resource group where the virtual network will be deploy required
ipam_poolslist(object({ id (Optional) Specifies the IPAM settings for requesting an address_space from an Inull
timeoutsobject({ create = optionalTimeouts for the resource operations{}
enable_vm_protectionbool(Optional) Enable VM Protection for the virtual network. Defaults to false. false
flow_timeout_in_minutesnumber(Optional) The flow timeout in minutes for the virtual network. Defaults to 4. null
tagsmap(string)(Optional) Tags of the resource.null
address_spaceset(string) (Optional) The address spaces applied to the virtual network. You can supply mnull
bgp_communitystring(Optional) The BGP community to send to the virtual network gateway. null
extended_locationobject({ name = string (Optional) Specifies the extended location of the virtual network. - `name`: Thnull
namestring(Optional) The name of the virtual network to create. If null, existing_virtualnull
role_assignmentsmap(object({ role_definiti (Optional) A map of role assignments to create on the <RESOURCE>. The map key {}
ddos_protection_planobject({ id = string Specifies an AzureNetwork DDoS Protection Plan. - `id`: The ID of the DDoS Protnull
diagnostic_settingsmap(object({ name A map of diagnostic settings to create on the Key Vault. The map key is delibe{}
encryptionobject({ enabled = boo(Optional) Specifies the encryption settings for the virtual network. - `enablenull
lockobject({ kind = string (Optional) Controls the Resource Lock configuration for this resource. The folnull
peeringsmap(object({ name (Optional) A map of virtual network peering configurations. Each entry specifies{}
retryobject({ error_message_regRetry configuration for the resource operations{}
subnetsmap(object({ address_prefi(Optional) A map of subnets to create - `address_prefix` - (Optional) The addr{}
dns_serversobject({ dns_servers = lis(Optional) Specifies a list of IP addresses representing DNS servers. - `dns_senull
enable_telemetryboolThis variable controls whether or not telemetry is enabled for the module. For mtrue
Outputs (6)
address_spaces — The address spaces of the virtual network.
name — The resource name of the virtual network.
peerings — Information about the peerings created in the module. Please refer to the peering module documentat
resource — The Azure Virtual Network resource. This will be null if an existing vnet is supplied.
resource_id — The resource ID of the virtual network.
subnets — Information about the subnets created in the module. Please refer to the subnet module documentatio
Resources (6)
azapi_resourceazurerm_management_lockazurerm_monitor_diagnostic_settingazurerm_role_assignmentmodtm_telemetryrandom_uuid
Details
FrameworkTerraform Module
LanguageHCL
Version0.17.1
Cloud AZURERM
★ Stars9
Forks19
Total downloads1.9M
Inputs21
Outputs6
Resources6
Examples15
Submodules2
LicenseMIT
NamespaceAzure
Updated