Skip to content

Commit 139f2f6

Browse files
committed
fixup
1 parent cc40dee commit 139f2f6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

aws_auth.tf

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
data "aws_caller_identity" "current" {}
2-
31
locals {
42
auth_launch_template_worker_roles = [
53
for index in range(0, var.create_eks ? local.worker_group_launch_template_count : 0) : {

data.tf

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
data "aws_partition" "current" {}
2+
3+
data "aws_caller_identity" "current" {}
4+
15
data "aws_iam_policy_document" "workers_assume_role_policy" {
26
statement {
37
sid = "EKSWorkerAssumeRole"
@@ -82,8 +86,6 @@ data "aws_iam_instance_profile" "custom_worker_group_launch_template_iam_instanc
8286
)
8387
}
8488

85-
data "aws_partition" "current" {}
86-
8789
data "http" "wait_for_cluster" {
8890
count = var.create_eks && var.manage_aws_auth ? 1 : 0
8991
url = format("%s/healthz", aws_eks_cluster.this[0].endpoint)

0 commit comments

Comments
 (0)