Deploy Azure Network Interface with a dedicated Terraform module.
- A Resource Group
- A Virtual Network
- A Subnet
- A public IP*
(*) If required only
Name | Version |
---|---|
azurerm | n/a |
No modules.
Name | Type |
---|---|
azurerm_network_interface.az_nic | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
dns_servers | A list of IP Addresses defining the DNS Servers which should be used for this Network Interface. | any |
null |
no |
enable_accelerated_networking | Enable accelerated networking | bool |
false |
no |
enable_ip_forwarding | Enable IP Forwarding | bool |
false |
no |
internal_dns_name_label | The (relative) DNS Name used for internal communications between Virtual Machines in the same Virtual Network. | string |
null |
no |
ip_configuration_name | A name used for this IP Configuration. | string |
"default_ip" |
no |
location | Network interface resource Location | string |
n/a | yes |
network_interface_name | Network interface name | string |
n/a | yes |
private_ip_address | The Static IP Address which should be used. | any |
null |
no |
private_ip_address_allocation | The allocation method used for the Private IP Address. | string |
"Dynamic" |
no |
private_ip_address_version | The IP Version to use | string |
"IPv4" |
no |
public_ip_address_id | Reference to a Public IP Address to associate with this NIC. | string |
null |
no |
required_secondary_ip_configuration | Declare secondary ip configuration for network interface. Not yet Available | bool |
false |
no |
resource_group_name | Network interface resource group name | string |
n/a | yes |
secondary_ip_configuration_name | A name used for this IP Configuration. Not yet Available | bool |
false |
no |
subnet_id | The ID of the Subnet where this Network Interface should be located in. | string |
null |
no |
tags | A mapping of tags to assign to the resource. | map |
{} |
no |
Name | Description |
---|---|
nic_id | The ID of the Network Interface. |
nic_mac_address | The Media Access Control (MAC) Address of the Network Interface. |
nic_private_ip_address | The first private IP address of the network interface. |
nic_private_ip_addresses | The private IP addresses of the network interface. |