Open emptyway opened 6 years ago
btw. my workaround was to create separates resources for each zone.
resource "aws_autoscaling_attachment" "alb_external-a" {
autoscaling_group_name = "${data.aws_autoscaling_groups.kops_nodes.names[0]}"
alb_target_group_arn = "${aws_lb_target_group.alb_external.arn}"
}
resource "aws_autoscaling_attachment" "alb_external-b" {
autoscaling_group_name = "${data.aws_autoscaling_groups.kops_nodes.names[1]}"
alb_target_group_arn = "${aws_lb_target_group.alb_external.arn}"
}
resource "aws_autoscaling_attachment" "alb_external-c" {
autoscaling_group_name = "${data.aws_autoscaling_groups.kops_nodes.names[2]}"
alb_target_group_arn = "${aws_lb_target_group.alb_external.arn}"
}
Unable to run the cluster on multiple zones.