Hi, we are using version 12.29 and we are seeing a rather unusual behavior. We have the below auto scaling attachment resource however when applying the plan, the targets in the target groups are being wiped out.
May I know if it should be done in a different way?
resource “aws_autoscaling_attachment” “lb-autoscaling-attachment” {
alb_target_group_arn = aws_lb_target_group.lb-target-group-80.arn
autoscaling_group_name = module.eks.autoscaling_group_name
}
resource “aws_autoscaling_attachment” “lb-ssl-autoscaling-attachment” {
alb_target_group_arn = aws_lb_target_group.lb-target-group-443.arn
autoscaling_group_name = module.eks.autoscaling_group_name
}
Thanks and regards,
Juan