-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathvariables.tf
More file actions
85 lines (72 loc) · 3.72 KB
/
Copy pathvariables.tf
File metadata and controls
85 lines (72 loc) · 3.72 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
###############
#
# SRC PEER CONF
#
###############
variable "src_virtual_network_id" {
description = "ID of the source Virtual Network to peer."
type = string
nullable = false
}
variable "src_virtual_network_access_allowed" {
description = "Controls if the VMs in the remote virtual network can access VMs in the local virtual network. [See documentation](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/virtual_network_peering.html#allow_virtual_network_access-1)."
type = bool
default = false
}
variable "src_forwarded_traffic_allowed" {
description = "Controls if forwarded traffic from VMs in the remote virtual network is allowed. [See documentation](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/virtual_network_peering.html#allow_forwarded_traffic-1)."
type = bool
default = false
}
variable "src_gateway_transit_allowed" {
description = "Controls gatewayLinks can be used in the remote virtual network’s link to the local virtual network. [See documentation](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/virtual_network_peering.html#allow_gateway_transit-1)."
type = bool
default = false
}
variable "use_src_remote_gateway" {
description = "Controls if remote gateways can be used on the local virtual network. [See documentation](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/virtual_network_peering.html#use_remote_gateways-1)."
type = bool
default = false
}
variable "src_subnet_names" {
description = "A list of local subnet names that are peered with remote Virtual Network. [See documentation](https://learn.microsoft.com/en-us/azure/virtual-network/how-to-configure-subnet-peering)"
type = list(string)
default = []
nullable = false
}
################
#
# DEST PEER CONF
#
################
variable "dest_virtual_network_id" {
description = "ID of the destination Virtual Network to peer."
type = string
nullable = false
}
variable "dest_virtual_network_access_allowed" {
description = "Controls if the VMs in the remote virtual network can access VMs in the local virtual network. [See documentation](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/virtual_network_peering.html#allow_virtual_network_access-1)."
type = bool
default = false
}
variable "dest_forwarded_traffic_allowed" {
description = "Controls if forwarded traffic from VMs in the remote virtual network is allowed. [See documentation](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/virtual_network_peering.html#allow_forwarded_traffic-1)."
type = bool
default = false
}
variable "dest_gateway_transit_allowed" {
description = "Controls gatewayLinks can be used in the remote virtual network’s link to the local virtual network. [See documentation](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/virtual_network_peering.html#allow_gateway_transit-1)."
type = bool
default = false
}
variable "use_dest_remote_gateway" {
description = "Controls if remote gateways can be used on the local virtual network. [See documentation](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/virtual_network_peering.html#use_remote_gateways-1)."
type = bool
default = false
}
variable "dest_subnet_names" {
description = "A list of remote subnet names that are peered with the Virtual Network. [See documentation](https://learn.microsoft.com/en-us/azure/virtual-network/how-to-configure-subnet-peering)"
type = list(string)
default = []
nullable = false
}