Skip to content

Commit 2e618aa

Browse files
Merge pull request #7 from depot/tag-spec-block
2 parents 7e68b19 + c0db3a9 commit 2e618aa

File tree

1 file changed

+18
-20
lines changed

1 file changed

+18
-20
lines changed

main.tf

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -179,16 +179,15 @@ resource "aws_launch_template" "x86" {
179179
availability_zone = var.availability-zone
180180
}
181181

182-
tag_specifications = [
183-
{
184-
resource_type = "instance"
185-
tags = var.tags
186-
},
187-
{
188-
resource_type = "volume"
189-
tags = var.tags
190-
},
191-
]
182+
tag_specifications {
183+
resource_type = "instance"
184+
tags = var.tags
185+
}
186+
187+
tag_specifications {
188+
resource_type = "volume"
189+
tags = var.tags
190+
}
192191
}
193192

194193
resource "aws_launch_template" "arm" {
@@ -226,16 +225,15 @@ resource "aws_launch_template" "arm" {
226225
availability_zone = var.availability-zone
227226
}
228227

229-
tag_specifications = [
230-
{
231-
resource_type = "instance"
232-
tags = var.tags
233-
},
234-
{
235-
resource_type = "volume"
236-
tags = var.tags
237-
},
238-
]
228+
tag_specifications {
229+
resource_type = "instance"
230+
tags = var.tags
231+
}
232+
233+
tag_specifications {
234+
resource_type = "volume"
235+
tags = var.tags
236+
}
239237
}
240238

241239
# cloud-agent ECS Task

0 commit comments

Comments
 (0)