generated from clouddrove/terraform-module-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
136 lines (117 loc) · 3.91 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
#Module : LABEL
#Description : Terraform label module variable
## peering
variable "enabled_peering" {
type = bool
default = false
description = "Set to false to prevent the module from creating any resources."
}
variable "vnet_1_name" {
type = string
default = ""
description = "The name of the virtual network. Changing this forces a new resource to be created."
}
variable "vnet_2_id" {
type = string
default = ""
description = "The full Azure resource ID of the remote virtual network. Changing this forces a new resource to be created."
}
variable "vnet_1_id" {
type = string
default = ""
description = "The full Azure resource ID of the remote virtual network. Changing this forces a new resource to be created."
}
variable "vnet_2_name" {
type = string
default = ""
description = "The name of the remote virtual network."
}
variable "allow_virtual_network_access" {
type = bool
default = true
description = "Controls if the VMs in the remote virtual network can access VMs in the local virtual network."
}
variable "allow_forwarded_traffic_vnet1" {
type = bool
default = false
description = "Controls if forwarded traffic from VMs in the remote virtual network is allowed"
}
variable "allow_forwarded_traffic_vnet2" {
type = bool
default = false
description = "Controls if forwarded traffic from VMs in the remote virtual network is allowed"
}
variable "allow_forwarded_traffic_vnet_diff_subs" {
type = bool
default = false
description = "Controls if forwarded traffic from VMs in the remote virtual network is allowed"
}
variable "allow_gateway_transit_vnet1" {
type = bool
default = false
description = "Controls gatewayLinks can be used in the remote virtual network’s link to the local virtual network."
}
variable "allow_gateway_transit_vnet2" {
type = bool
default = false
description = "Controls gatewayLinks can be used in the remote virtual network’s link to the local virtual network."
}
variable "allow_gateway_transit_vnet_diff_subs" {
type = bool
default = false
description = "Controls gatewayLinks can be used in the different subscription virtual network’s link to the local virtual network."
}
variable "use_remote_gateways_vnet1" {
type = bool
default = false
description = "Controls if remote gateways can be used on the local virtual network"
}
variable "use_remote_gateways_vnet2" {
type = bool
default = false
description = "Controls if remote gateways can be used on the local virtual network"
}
variable "use_remote_gateways_vnet_diff_subs" {
type = bool
default = false
description = "Controls if remote gateways can be used on the different subscription virtual network"
}
variable "resource_group_1_name" {
type = string
default = ""
description = "The name of 1st existing resource group to be imported."
}
variable "resource_group_2_name" {
type = string
default = ""
description = "The name of 2nd existing resource group to be imported."
}
variable "different_rg" {
type = bool
default = false
description = "Flag to tell whether peering is to be done in same in resource group or different resource group "
}
variable "enabled_diff_subs_peering" {
type = bool
default = false
}
variable "vnet_diff_subs_name" {
type = string
default = ""
description = "The name of the remote virtual network."
}
variable "alias_subs_id" {
type = string
default = ""
description = "Alias for remote provider in module."
}
variable "diff_subs_resource_group_name" {
type = string
default = ""
description = "The name of remote resource group to be imported."
}
variable "vnet_diff_subs_id" {
type = string
default = ""
description = "The id of the remote virtual network."
}