-
Notifications
You must be signed in to change notification settings - Fork 11
/
variables.tf
71 lines (60 loc) · 3.13 KB
/
variables.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
###############
#
# 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
}
################
#
# 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
}