Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow ASG tags to propagate at launch #47

Open
joverman-collective opened this issue Dec 6, 2024 · 0 comments
Open

Allow ASG tags to propagate at launch #47

joverman-collective opened this issue Dec 6, 2024 · 0 comments

Comments

@joverman-collective
Copy link

joverman-collective commented Dec 6, 2024

To help with cost allocation reporting, it would be helpful to have some tags applied to the EC2 instances created by the ASG at launch. It seems here, it's hardcoded to false and only the Name tag is allowed to propagate:

Reference

  dynamic "tag" {
    for_each = var.tags

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

We could perhaps add a new variable such as propagted_tags to allow for both propagated and non-propagated tags to not break existing functionality while allowing for extra propagated tags as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant