Skip to content

Commit abd55b3

Browse files
Fix EKS cluster deployment (#3098)
update oidc resource
1 parent 5be7ff1 commit abd55b3

File tree

1 file changed

+10
-0
lines changed
  • deploy/test-environments/modules/aws/eks

1 file changed

+10
-0
lines changed

deploy/test-environments/modules/aws/eks/oidc.tf

+10
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,15 @@ resource "aws_eks_identity_provider_config" "eks_oidc" {
77

88
}
99

10+
depends_on = [module.eks, null_resource.wait_for_cluster]
11+
}
12+
13+
resource "null_resource" "wait_for_cluster" {
1014
depends_on = [module.eks]
15+
16+
provisioner "local-exec" {
17+
command = <<-EOT
18+
aws eks wait cluster-active --name ${local.cluster_name} --region ${var.region}
19+
EOT
20+
}
1121
}

0 commit comments

Comments
 (0)