Skip to content

Commit 5653032

Browse files
barryibArchiFleKs
authored andcommitted
feat: Add timeout of 5mn when waiting for cluster (terraform-aws-modules#1359)
1 parent 1e6f4bf commit 5653032

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ MIT Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-a
142142
|------|---------|
143143
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13.1 |
144144
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.37.0 |
145-
| <a name="requirement_http"></a> [http](#requirement\_http) | >= 2.2.0 |
145+
| <a name="requirement_http"></a> [http](#requirement\_http) | >= 2.3.0 |
146146
| <a name="requirement_kubernetes"></a> [kubernetes](#requirement\_kubernetes) | >= 1.11.1 |
147147
| <a name="requirement_local"></a> [local](#requirement\_local) | >= 1.4 |
148148
| <a name="requirement_random"></a> [random](#requirement\_random) | >= 2.1 |
@@ -152,7 +152,7 @@ MIT Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-a
152152
| Name | Version |
153153
|------|---------|
154154
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.37.0 |
155-
| <a name="provider_http"></a> [http](#provider\_http) | >= 2.2.0 |
155+
| <a name="provider_http"></a> [http](#provider\_http) | >= 2.3.0 |
156156
| <a name="provider_kubernetes"></a> [kubernetes](#provider\_kubernetes) | >= 1.11.1 |
157157
| <a name="provider_local"></a> [local](#provider\_local) | >= 1.4 |
158158
| <a name="provider_random"></a> [random](#provider\_random) | >= 2.1 |

cluster.tf

+1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ data "http" "wait_for_cluster" {
6868
count = var.create_eks && var.manage_aws_auth ? 1 : 0
6969
url = format("%s/healthz", aws_eks_cluster.this[0].endpoint)
7070
ca_certificate = base64decode(coalescelist(aws_eks_cluster.this[*].certificate_authority[0].data, [""])[0])
71+
timeout = 300
7172
}
7273

7374
resource "aws_security_group" "cluster" {

versions.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ terraform {
88
kubernetes = ">= 1.11.1"
99
http = {
1010
source = "terraform-aws-modules/http"
11-
version = ">= 2.2.0"
11+
version = ">= 2.3.0"
1212
}
1313
}
1414
}

0 commit comments

Comments
 (0)