Closed sehz closed 2 years ago
I faced the same issue, and found this is the workaround
Thanks @MEOWMEOW114
To address this issue, add the following to your module "eks" {}
in eks-cluster.tf
.
module "eks" {
...
+ wait_for_cluster_cmd = "until curl -k -s $ENDPOINT/healthz >/dev/null; do sleep 4; done"
}
@im2nguyen I don't know what I'm doing wrong but that solution does not work for me sadly. This is the errow message I am getting:
Error: Error running command 'until curl -k -s $ENDPOINT/healthz >/dev/null; do sleep 4; done': exec: "/bin/sh": file does not exist. Output:
@tanakamapondera , what OS and Terraform version are you using? It seems like your system doesn't have bash.
This https://github.com/terraform-aws-modules/terraform-aws-eks/issues/925#issuecomment-648057547 comment includes a workaround for Window machines. Please let me know if that works!
On OSX: Installing wget
using Homebrew can also fix the issue: brew install wget
.
This should now be fixed by #65. Please let us know if you are still having issues.
I am getting following error which something to do with
wget
.