-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
37 lines (32 loc) · 1017 Bytes
/
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
variable "dns_zone_name" {
type = string
description = "The name of the Private DNS Zone that needs to be created or linked to the virtual network"
}
variable "resource_group" {
type = string
description = "Resource group where Private DNS zone would be created or it is already exists"
}
variable "create_private_dns_zone" {
type = bool
description = "Boolean flag that determines whether Private DNS Zones is created by this module"
default = true
}
variable "private_dns_a_records" {
type = list(object({
name = string
ttl = optional(number, 300)
records = list(string)
}))
description = "List of objects with parameters to create A Record in Private DNS Zone"
default = []
}
variable "tags" {
type = map(string)
description = "Resource tags"
default = {}
}
variable "vnet_map" {
type = map(string)
description = "Map of Virtual Network Name to Id, used to create VNet Link to Private DNS"
default = {}
}