From 8c321ec1abdc600330e94bbc9d3bddfa8a6df132 Mon Sep 17 00:00:00 2001 From: 3u13r Date: Mon, 14 Aug 2023 13:42:20 +0200 Subject: [PATCH] cli: add role to aws instance name (#2130) --- cli/internal/terraform/terraform/aws/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/internal/terraform/terraform/aws/main.tf b/cli/internal/terraform/terraform/aws/main.tf index f5054bb2f..bae981fa4 100644 --- a/cli/internal/terraform/terraform/aws/main.tf +++ b/cli/internal/terraform/terraform/aws/main.tf @@ -275,7 +275,7 @@ module "instance_group" { enable_snp = var.enable_snp tags = merge( local.tags, - { Name = local.name }, + { Name = "${local.name}-${each.value.role}" }, { constellation-role = each.value.role }, { constellation-node-group = each.key }, { constellation-uid = local.uid },