From 7d932fca59ad6af065d4b8fa7a1fb102f9435092 Mon Sep 17 00:00:00 2001 From: Scott Winkler Date: Sun, 7 Feb 2021 04:30:08 -0800 Subject: [PATCH] update --- modules/cluster/main.tf | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/modules/cluster/main.tf b/modules/cluster/main.tf index 98f1ffc..b7ff3bf 100644 --- a/modules/cluster/main.tf +++ b/modules/cluster/main.tf @@ -71,18 +71,18 @@ resource "aws_autoscaling_group" "server" { id = aws_launch_template.server.id version = aws_launch_template.server.latest_version } - tags = [ - { - key = "ResourceGroup" - value = var.namespace - propagate_at_launch = true - }, - { - key = "Name" - value = local.namespace - propagate_at_launch = true - } - ] + + tag { + key = "ResourceGroup" + value = var.namespace + propagate_at_launch = true + } + + tag { + key = "Name" + value = local.namespace + propagate_at_launch = true + } } data "aws_instances" "instances" {