generated from clouddrove/terraform-module-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
117 lines (101 loc) · 2.92 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
#Module : LABEL
#Description : Terraform label module variables.
variable "name" {
type = string
default = ""
description = "Name (e.g. `app` or `cluster`)."
}
variable "environment" {
type = string
default = ""
description = "Environment (e.g. `prod`, `dev`, `staging`)."
}
variable "label_order" {
type = list(string)
default = ["name", "environment"]
description = "Label order, e.g. sequence of application name and environment `name`,`environment`,'attribute' [`webserver`,`qa`,`devops`,`public`,] ."
}
variable "managedby" {
type = string
default = ""
description = "ManagedBy, eg ''."
}
variable "repository" {
type = string
default = ""
description = "Terraform current module repo"
}
variable "dns_zone_names" {
type = string
default = null
description = "The public dns zone to be created for internal vnet resolution"
}
variable "private_dns_zone_name" {
type = string
default = null
description = "The private dns zone to be created for internal vnet resolution"
}
variable "resource_group_name" {
type = string
default = ""
description = "The name of the resource group where the Azure DNS resides"
}
variable "private_registration_enabled" {
type = bool
default = true
description = "Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled?"
}
variable "enabled" {
type = bool
default = true
}
variable "enabled_dns" {
type = bool
default = true
}
variable "private_dns" {
type = bool
default = false
}
variable "virtual_network_id" {
type = string
default = ""
description = "The name of the virtual network"
}
variable "soa_record_private_dns" {
type = list(object({}))
default = []
description = "Customize details about the root block device of the instance. See Block Devices below for details."
}
variable "a_records" {
type = list(object({
name = string
ttl = number
records = list(string)
}))
default = []
description = "List of a records to be added in azure dns zone."
}
variable "cname_records" {
type = list(object({
name = string
ttl = number
record = string
}))
default = []
description = "List of cname records"
}
variable "ns_records" {
type = list(object({
name = string, #(Required) The name of the DNS NS Record. Changing this forces a new resource to be created.
ttl = number, # (Required) The Time To Live (TTL) of the DNS record in seconds.
records = list(string) #(Required) A list of values that make up the NS record.
}))
default = []
description = "List of ns records"
}
variable "soa_record" {
type = list(object({}))
default = []
description = "Customize details about the root block device of the instance. See Block Devices below for details."
}