feat: Add timeout of 5mn when waiting for cluster (#1359)

This commit is contained in:
Thierno IB. BARRY
2021-05-17 14:10:33 +02:00
committed by GitHub
parent 5cbbe80302
commit 19e6be9df3
3 changed files with 4 additions and 3 deletions

View File

@@ -68,6 +68,7 @@ data "http" "wait_for_cluster" {
count = var.create_eks && var.manage_aws_auth ? 1 : 0
url = format("%s/healthz", aws_eks_cluster.this[0].endpoint)
ca_certificate = base64decode(coalescelist(aws_eks_cluster.this[*].certificate_authority[0].data, [""])[0])
timeout = 300
}
resource "aws_security_group" "cluster" {