Skip to content

Commit f950274

Browse files
committed
Added Name tag for EC2 Dashboard
1 parent c39a88d commit f950274

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workshop/aws/ec2/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ resource "aws_instance" "observability-instance" {
205205
tags = merge(
206206
local.common_tags,
207207
{
208-
#Name = "observability-${count.index + 1}"
208+
Name = "${lower(var.slug)}-${format("%02d", count.index + 1)}"
209209
instance = "${lower(var.slug)}-${format("%02d", count.index + 1)}"
210210
name = "${lower(var.slug)}-${format("%02d", count.index + 1)}"
211211
subnet = "${aws_subnet.o11y_ws_subnets.*.id[count.index % length(aws_subnet.o11y_ws_subnets)]}"

0 commit comments

Comments
 (0)