-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
76 lines (67 loc) · 2.47 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
# variable "virtual_hubs"
# This variable defines the configuration for virtual hubs.
# - virtual_hub_name: The name of the virtual hub (string).
# - location: The location/region of the virtual hub (string).
# - address_prefix: The address prefix for the virtual hub (string).
# - routing_intent_name: The name of the routing intent (string).
# - firewall_name: The name of the firewall (string).
# - firewall_policy_name: The name of the firewall policy (string).
# - firewall_sku_tier: The SKU tier of the firewall (string).
# - firewall_public_ip_count: The number of public IPs for the firewall (number).
# - firewall_threat_intelligence_mode: The threat intelligence mode for the firewall (string).
# - firewall_proxy_enabled: Whether the firewall proxy is enabled (bool).
# - firewall_dns_servers: A list of DNS servers for the firewall (list of strings).
# variable "tags"
# This variable defines a map of tags to be applied to resources.
# - type: A map of strings.
# - default: An empty map by default.
# variable "resource_group_name"
# This variable defines the name of the resource group.
# - type: string.
# variable "hub_bgp_peers"
# This variable defines the configuration for BGP peers.
# - virtual_hub_id: The ID of the virtual hub (string).
# - name: The name of the BGP peer (string).
# - peer_asn: The ASN of the BGP peer (number).
# - peer_ip: The IP address of the BGP peer (string).
# - vnet_connection_id: The ID of the VNET Hub connection (string).
variable "tags" {
type = map(string)
default = {}
}
variable "resource_group" {
type = object({
name = string
location = string
})
}
variable "virtual_wan" {
type = object({
name = string
location = string
})
}
variable "virtual_hubs" {
type = map(object({
virtual_hub_name = string
location = string
address_prefix = string
routing_intent_name = string
firewall_name = string
firewall_policy_name = string
firewall_sku_tier = string
firewall_public_ip_count = number
firewall_threat_intelligence_mode = string
firewall_proxy_enabled = bool
firewall_dns_servers = list(string)
}))
}
variable "hub_bgp_peers" {
type = map(object({
virtual_hub_id = string
name = string
peer_asn = number
peer_ip = string
vnet_connection_id = string
}))
}