Open rupertgti opened 2 years ago
~I will take a deeper look at this tonight, but most likely this is happening because u dont have propagate at launch
set to true. Try PropagateAtLaunch=true
and see if that fixes it.
See: https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-tagging.html#add-tags~
Well, I see u have tag new instances set to true, so what I said before is not correct, will look.
Looking at this a bit more, it's related to this: https://github.com/terraform-aws-modules/terraform-aws-eks/issues/860 which seems to be an AWS issue.
Thank you @ankitm123 for link to the main issue. But if it's an old problem, is it not possible to apply the workaround in the process: https://github.com/terraform-aws-modules/terraform-aws-eks/issues/860#issuecomment-632705746?
But if it's an old problem, is it not possible to apply the workaround in the process: terraform-aws-modules/terraform-aws-eks#860 (comment)?
If you want to open a PR and fix it, I would be happy to review it :)
I 'll try it
We are participating in hacktoberfest also :grimacing:
Summary
I want to put some additional tags in my ec2 custom node groups. I think the terraform plan show the correct changes but in the "reality" in AWS the module don't apply the custom tags and the result is the default tags of module
Terraform plan:
I add this in main.tf of
module "eks-jx" {
:the results in AWS Auto Scaling groups tags:
And my ec2 instances don't have the tags :(
Steps to reproduce the behavior
terraform plan and terraform apply
Terraform version
The output of
terraform version
is:Module version
1.16.1
Operating system
WSL2