Skip to content

data-platform-hq/terraform-azurerm-network

Repository files navigation

Azure Virtual Network Terraform module

Terraform module for creation Azure Virtual Network

Usage

Requirements

Name Version
terraform >= 1.0.0
azurerm >= 4.0.1

Providers

Name Version
azurerm >= 4.0.1

Modules

No modules.

Resources

Name Type
azurerm_monitor_diagnostic_setting.this resource
azurerm_virtual_network.this resource
azurerm_virtual_network_dns_servers.this resource
azurerm_monitor_diagnostic_categories.this data source

Inputs

Name Description Type Default Required
analytics_destination_type Possible values are AzureDiagnostics and Dedicated. string "Dedicated" no
analytics_workspace_id Resource ID of Log Analytics Workspace string null no
cidr The address space that is used the virtual network. You can supply more than one address space. list(string) n/a yes
custom_dns List of IP Addresses of DNS servers. Manages the DNS servers associated with a virtual network. list(string) [] no
diagnostic_settings_name Specifies the name of the Diagnostic Setting string null no
enable_diagnostic_setting Enable diagnostic setting. var.analytics_workspace_id must be provided bool false no
location Azure location string n/a yes
resource_group The name of the resource group in which to create the storage account string n/a yes
tags A mapping of tags to assign to the resource map(any) {} no
vnet_name Given name to virtual network string n/a yes

Outputs

Name Description
dns_server_id The virtual network DNS server ID
guid The GUID of the Virtual Network.
id The ID of the Virtual Network.
name The name of the Virtual Network.
name_to_id_map Map of Virtual Network Name to Id
resource_group The name of the resource group where Virtual Network is created.

License

Apache 2 Licensed. For more information please see LICENSE