We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 568e62c commit 8200888Copy full SHA for 8200888
aws_auth.tf
@@ -1,5 +1,3 @@
1
-data "aws_caller_identity" "current" {}
2
-
3
locals {
4
auth_launch_template_worker_roles = [
5
for index in range(0, var.create_eks ? local.worker_group_launch_template_count : 0) : {
data.tf
@@ -1,3 +1,7 @@
+data "aws_partition" "current" {}
+
+data "aws_caller_identity" "current" {}
data "aws_iam_policy_document" "workers_assume_role_policy" {
6
statement {
7
sid = "EKSWorkerAssumeRole"
@@ -82,8 +86,6 @@ data "aws_iam_instance_profile" "custom_worker_group_launch_template_iam_instanc
82
86
)
83
87
}
84
88
85
-data "aws_partition" "current" {}
89
data "http" "wait_for_cluster" {
90
count = var.create_eks && var.manage_aws_auth ? 1 : 0
91
url = format("%s/healthz", aws_eks_cluster.this[0].endpoint)
0 commit comments