change default value for wait_for_cluster_cmd (#750)

* change wait_for_cluster_cmd method

change default method for wait_for_cluster_cmd from curl to wget to solve https://github.com/terraform-aws-modules/terraform-aws-eks/issues/741

* Update CHANGELOG.md

* update docs

Co-authored-by: Max Williams <max.williams@deliveryhero.com>
This commit is contained in:
Dawid Rogaczewski
2020-02-27 11:31:20 +01:00
committed by GitHub
parent f2cc9f5039
commit 3e44835172
3 changed files with 3 additions and 2 deletions

View File

@@ -201,7 +201,7 @@ variable "cluster_delete_timeout" {
variable "wait_for_cluster_cmd" {
description = "Custom local-exec command to execute for determining if the eks cluster is healthy. Cluster endpoint will be available as an environment variable called ENDPOINT"
type = string
default = "until curl -k -s $ENDPOINT/healthz >/dev/null; do sleep 4; done"
default = "until wget --no-check-certificate -O - -q $ENDPOINT/healthz >/dev/null; do sleep 4; done"
}
variable "cluster_create_security_group" {