cli: add role to aws instance name (#2130)

This commit is contained in:
3u13r 2023-08-14 13:42:20 +02:00 committed by GitHub
parent ef4d789dc8
commit 8c321ec1ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 },