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
Existing 'Name' tag in var.tags is overridden #53
Comments
Is this the intended behavior? Any thoughts on this? Cheers |
You are right, Martin, they have to be swapped. I will make a change now. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
A tag
Name
is merged into the incomingvar.tags
, independent of whether this key is already contained or not: https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/blob/master/main.tf#L37.I assume that by flipping the arguments of the
merge()
function,var.tags
would get the precedence it needs?The text was updated successfully, but these errors were encountered: