-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
63 lines (57 loc) · 1.63 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
variable "tags" {
description = "A map of tags to assign to the resource."
type = map(string)
default = {}
}
variable "resource_group" {
description = "Resource group configuration"
type = object({
name = string
location = string
})
}
variable "private_dns_resolver" {
description = "Private DNS resolver configuration"
type = object({
name = string
virtual_network_id = string
virtual_network_name = string
})
}
variable "private_dns_resolver_inbound_endpoint" {
description = "Private DNS resolver inbound endpoint configuration"
type = object({
name = string
ip_configurations = list(object({
private_ip_allocation_method = optional(string, "Static")
subnet_id = string
private_ip_address = optional(string, null)
}))
})
}
variable "private_dns_resolver_outbound_endpoint" {
description = "Private DNS resolver outbound endpoint configuration"
type = object({
enabled = optional(bool, true)
name = string
subnet_id = string
})
}
variable "private_dns_resolver_forwarding_ruleset" {
description = "Private DNS resolver forwarding ruleset configuration"
type = object({
name = string
})
}
variable "private_dns_resolver_forwarding_rule" {
description = "Private DNS resolver forwarding rule configuration"
type = map(object({
name = optional(string, null)
domain_name = optional(string, null)
enabled = optional(bool, true)
target_dns_servers = list(object({
ip_address = optional(string, null)
port = optional(number, 53)
}))
}))
}