We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c39a88d commit f950274Copy full SHA for f950274
workshop/aws/ec2/main.tf
@@ -205,7 +205,7 @@ resource "aws_instance" "observability-instance" {
205
tags = merge(
206
local.common_tags,
207
{
208
- #Name = "observability-${count.index + 1}"
+ Name = "${lower(var.slug)}-${format("%02d", count.index + 1)}"
209
instance = "${lower(var.slug)}-${format("%02d", count.index + 1)}"
210
name = "${lower(var.slug)}-${format("%02d", count.index + 1)}"
211
subnet = "${aws_subnet.o11y_ws_subnets.*.id[count.index % length(aws_subnet.o11y_ws_subnets)]}"
0 commit comments