-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvars-network.tf
50 lines (43 loc) · 1.66 KB
/
vars-network.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
variable "virtual_network_name" {
type = string
description = "(Required) The name of the Virtual Network used."
default = null
}
variable "subnet_name" {
type = string
description = "(Required) The name of the Subnet used."
default = null
}
variable "private_ip_address_version" {
type = string
description = "(Optional) The IP Version to use. Possible values are IPv4 or IPv6."
default = "IPv4"
}
variable "private_ip_address_allocation" {
type = string
description = "(Required) The allocation method used for the Private IP Address. Possible values are Dynamic and Static."
default = "Dynamic"
}
variable "enable_ip_forwarding" {
type = bool
description = "(Optional) Should IP Forwarding be enabled?"
default = false
}
variable "dns_servers" {
type = list(string)
description = "(Optional) A list of IP Addresses defining the DNS Servers which should be used for this Network Interface."
default = null
}
# Only certain Virtual Machine sizes are supported for Accelerated Networking - more information can be found in this document:
# https://docs.microsoft.com/en-us/azure/virtual-network/create-vm-accelerated-networking-cli
# To use Accelerated Networking in an Availability Set, the Availability Set must be deployed onto an Accelerated Networking enabled cluster.
variable "enable_accelerated_networking" {
type = bool
description = "(Optional) Should Accelerated Networking be enabled?"
default = false
}
variable "ip_configuration_name" {
type = string
description = "(Required) A name used for this IP Configuration."
default = "internal"
}