terraform-aws-fck-nat icon indicating copy to clipboard operation
terraform-aws-fck-nat copied to clipboard

Exclude name from passed tags for asg or check that it's not provided

Open vsamofal opened this issue 3 months ago • 0 comments

  tag {
    key                 = "Name"
    value               = var.name
    propagate_at_launch = true
  }

  dynamic "tag" {
    for_each = var.tags

    content {
      key                 = tag.key
      value               = tag.value
      propagate_at_launch = false
    }

It will be good to check here that Name tag is not in the provided map and apply it only if it's not there

vsamofal avatar Apr 04 '24 01:04 vsamofal