1
0
mirror of https://github.com/terraform-aws-modules/terraform-aws-eks.git synced 2025-09-09 19:32:58 +08:00

Update cluster referencing for consistency

This commit is contained in:
Tomislav Tomašić
2019-11-20 12:52:06 +00:00
committed by GitHub
parent 954fe92a66
commit 96bb368b20
+3 -3
View File
@@ -118,9 +118,9 @@ data "template_file" "userdata" {
vars = merge({
platform = lookup(var.worker_groups[count.index], "platform", local.workers_group_defaults["platform"])
cluster_name = aws_eks_cluster.this[count.index].name
endpoint = aws_eks_cluster.this[count.index].endpoint
cluster_auth_base64 = aws_eks_cluster.this[count.index].certificate_authority[0].data
cluster_name = aws_eks_cluster.this[0].name
endpoint = aws_eks_cluster.this[0].endpoint
cluster_auth_base64 = aws_eks_cluster.this[0].certificate_authority[0].data
pre_userdata = lookup(
var.worker_groups[count.index],
"pre_userdata",