terraform-community-modules/tf_aws_sg

tags in autoscaling group need be list, not map

Closed this issue · 2 comments

In most modules here, tags are not used, so we don't really see this issue.

When using the new module sg_default (#44), you will have issue to define the tags.

In terraform resource aws_autoscaling_group

tags is defined as list ( not map)

tags (Optional) A list of tag blocks (maps). Tags documented below.

I can't understand the relation between aws_autoscaling_group and sg_default. ASG is a known resource which has a different structure for tags.

Could you please provide code snippet which is not working as intended?

wrong module, closed