-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Provider default tags an tags for self_managed_node_group triggering changes every time. #2592
Comments
provider default tags should "just work" - we are not doing anything different in this module to accommodate provider tags; I would follow the changes coming in the v5 AWS provider for this hashicorp/terraform-provider-aws#29842 |
@bryantbiggs so what is the resolution in your opinion for the propagate_at_launch tags that must match provider default tags? Just reverting this small change would be an acceptable solution. |
I would suggest looking back through issues and PRs - adding hacks to patch the short comings of the current provider default tags is not tenable and this is why I say that provider tags should "just work" but they currently do not. We won't be making any changes for provider tags in this module at this time - I suggest you follow the AWS provider v5 issue which is aimed largely at correcting the behavior of the provider default tags |
@bryantbiggs what is proposed solution? |
We had this, and it raised a bunch of issues The proposed solution is this hashicorp/terraform-provider-aws#29842 |
We already migrated to v19 and discovered this issue with tagging only after that fact because you did not point out that it was breaking things.
Very professional. So I'll give it a try and ask again. What do you suppose we do in our case to work around it? |
1a. https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/docs/UPGRADE-19.0.md#removed I don't see how I am being un-professional here - your window of the world (module) is very narrow, mine is not |
Removed is not the best place for breaking change. You have specific section for that. It is like removing some component from a system, notifying people about it, but failing to mention that some things will stop working. Unprofessional? Maybe, more of an oversight or mistake.
Your removal of hacks was very badly timed. For the ASG
Not fully understanding this part speaks for itself. Unprofessional? Yes
Could something like this be written by a professional? Not in my narrow world. So I stand by my statement. |
I'm sorry but I'm not going to tolerate this type of interaction - I have provided as much information and detail as to why the changes were made, where those changes are documented, and why we are unable to accept any further changes in this area |
We have default provider tags which we need to propagate_at_launch for EC2 instances.
But code has no block to set additional tags manually on ASG with the propagate_at_launch flag, it only works with var.tags
https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/node_groups.tf#L506
It would be manageable if other resources wouldn't depend on this as well, but:
get their tags from the same variable and causing duplicate tags always show up as pending changes on these resources
Removing tags from provider causing serious crash, which is a separate issue:
So essentially the way code is written in v19 makes it impossible to work around this w/o removing tags from the provider, but removing tags from the provider is unacceptable and makes tag management a daymare.
The text was updated successfully, but these errors were encountered: