Skip to content

Commit

Permalink
Set name for ASG from random_id
Browse files Browse the repository at this point in the history
  • Loading branch information
qbart committed Nov 22, 2021
1 parent 4be82fb commit 15d2013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ecs-cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ resource "aws_autoscaling_group" "portal_autoscaling_group" {
health_check_type = "EC2"

tags = [
for k, v in var.tags : {
for k, v in merge({Name: random_id.prefix.hex}, var.tags) : {
key = k
value = v
propagate_at_launch = true
Expand Down

0 comments on commit 15d2013

Please sign in to comment.