Skip to content

Commit bb0ba51

Browse files
committed
add tag for label
1 parent 0c9c470 commit bb0ba51

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# for resources. You can use terraform-labels to implement a strict naming
77
# convention.
88
module "labels" {
9-
source = "git::https://github.com/clouddrove/terraform-labels.git"
9+
source = "git::https://github.com/clouddrove/terraform-labels.git?ref=tags/0.12.0"
1010

1111
name = var.name
1212
application = var.application

variables.tf

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ variable "environment" {
1919
}
2020

2121
variable "label_order" {
22-
type = list
22+
type = list(any)
2323
default = []
2424
description = "Label order, e.g. `name`,`application`."
2525
}
2626

2727
variable "attributes" {
28-
type = list
28+
type = list(any)
2929
default = []
3030
description = "Additional attributes (e.g. `1`)."
3131
}
@@ -43,7 +43,7 @@ variable "delimiter" {
4343
}
4444

4545
variable "tags" {
46-
type = map
46+
type = map(any)
4747
default = {}
4848
description = "Additional tags (e.g. map(`BusinessUnit`,`XYZ`)."
4949
}
@@ -128,44 +128,44 @@ variable "vpc_id" {
128128
}
129129

130130
variable "types" {
131-
type = list
131+
type = list(any)
132132
default = []
133133
description = "The record type. Valid values are A, AAAA, CAA, CNAME, MX, NAPTR, NS, PTR, SOA, SPF, SRV and TXT. "
134134
}
135135

136136
variable "ttls" {
137-
type = list
137+
type = list(any)
138138
default = []
139139
description = "(Required for non-alias records) The TTL of the record."
140140
}
141141

142142
variable "names" {
143-
type = list
143+
type = list(any)
144144
default = []
145145
description = "The name of the record."
146146
}
147147

148148
variable "values" {
149-
type = list
149+
type = list(any)
150150
default = []
151151
description = "(Required for non-alias records) A string list of records. To specify a single record value longer than 255 characters such as a TXT record for DKIM, add \"\" inside the Terraform configuration string (e.g. \"first255characters\"\"morecharacters\")."
152152
}
153153

154154
variable "set_identifiers" {
155-
type = list
155+
type = list(any)
156156
default = []
157157
description = "Unique identifier to differentiate records with routing policies from one another. Required if using failover, geolocation, latency, or weighted routing policies documented below."
158158
}
159159

160160
variable "health_check_ids" {
161-
type = list
161+
type = list(any)
162162
default = []
163163
description = "The health check the record should be associated with."
164164
}
165165

166166
variable "alias" {
167-
type = map
168-
default = {"names"=[],"zone_ids"=[],"evaluate_target_healths"=[]}
167+
type = map(any)
168+
default = { "names" = [], "zone_ids" = [], "evaluate_target_healths" = [] }
169169
description = "An alias block. Conflicts with ttl & records. Alias record documented below."
170170
}
171171

@@ -190,13 +190,13 @@ variable "weighted_routing_policies" {
190190
}
191191

192192
variable "multivalue_answer_routing_policies" {
193-
type = list
193+
type = list(any)
194194
default = []
195195
description = "Set to true to indicate a multivalue answer routing policy. Conflicts with any other routing policy."
196196
}
197197

198198
variable "allow_overwrites" {
199-
type = list
199+
type = list(any)
200200
default = []
201201
description = "Allow creation of this record in Terraform to overwrite an existing record, if any. This does not affect the ability to update the record in Terraform and does not prevent other resources within Terraform or manual Route 53 changes outside Terraform from overwriting this record. false by default. This configuration is not recommended for most environments."
202202
}

0 commit comments

Comments
 (0)