From 9a6c4be21bffa4a234a264b153e63f0781c343f9 Mon Sep 17 00:00:00 2001 From: Bill Wang Date: Fri, 13 Jul 2018 16:35:25 +1000 Subject: [PATCH] rollback the change - can't update launch configuration --- workers.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workers.tf b/workers.tf index f84a5f2..dca2fc5 100644 --- a/workers.tf +++ b/workers.tf @@ -21,7 +21,7 @@ resource "aws_autoscaling_group" "workers" { } resource "aws_launch_configuration" "workers" { - #name_prefix = "${aws_eks_cluster.this.name}-${lookup(var.worker_groups[count.index], "name", count.index)}" + name_prefix = "${aws_eks_cluster.this.name}-${lookup(var.worker_groups[count.index], "name", count.index)}" associate_public_ip_address = "${lookup(var.worker_groups[count.index], "public_ip", lookup(var.workers_group_defaults, "public_ip"))}" security_groups = ["${local.worker_security_group_id}"] iam_instance_profile = "${aws_iam_instance_profile.workers.id}"