We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 84f133e + 16d76a0 commit c2f229aCopy full SHA for c2f229a
main.tf
@@ -2,8 +2,7 @@ module "asg_label" {
2
source = "cloudposse/label/null"
3
version = "0.25.0"
4
5
- context = module.this.context
6
- attributes = compact(concat(["asg"], var.attributes))
+ context = module.this.context
7
8
# This tag attribute is required.
9
# See https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/autoscaling_group#propagate_at_launch
@@ -320,7 +319,7 @@ resource "aws_launch_template" "default" {
320
319
}
321
322
resource "aws_autoscaling_group" "default" {
323
- name_prefix = module.asg_label.id
+ name_prefix = "${module.asg_label.id}-asg"
324
tags = module.asg_label.tags_as_list_of_maps
325
326
launch_template {
0 commit comments