-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
switch wait_for_cluster_cmd from curl to wget to allow use hashicorp/terraform docker image #741
Comments
curl
to wget
to allow use hashicorp/terraform
docker image* change wait_for_cluster_cmd method change default method for wait_for_cluster_cmd from curl to wget to solve #741 * Update CHANGELOG.md * update docs Co-authored-by: Max Williams <[email protected]>
Resolved in #750 |
I used the script to create EKS cluster but it failed with the same error (mentiioned below). I used the latest version of the script that is avaialble in the Github repo. Please let whether this is fixed. Terraform v0.12.26
Error: Error running command 'for i in |
@BalajiSivarajRajan in your case looks that this is caused because you missing Lines 62 to 77 in db9bb0b
you can customize your interpreter via module variable: as per docs: |
On the other hand, on Mac OS X, curl is default and wget is not installed by default
I would prefer to add |
* change wait_for_cluster_cmd method change default method for wait_for_cluster_cmd from curl to wget to solve terraform-aws-modules/terraform-aws-eks#741 * Update CHANGELOG.md * update docs Co-authored-by: Max Williams <[email protected]>
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
I'm submitting a...
What is the current behavior?
Currently after creating eks cluster there is
local-exec
loop checking availability of API endpointterraform-aws-eks/variables.tf
Lines 201 to 205 in 10ca272
This behaviour is working totally fine, but it require installed
curl
, but if you are using some automation and using official Hashicorp docker images (hashicorp/terraform
)curl
is not installed there. Instead looks that there iswget
:This can be workaround by using following input module variable:
So instead using by default
curl
I am proposing to switch default towget
which will make module working by default using dockerized terraformIf this is a bug, how to reproduce? Please include a code sample if relevant.
This is not bug, it is rather enhancement to support official Hashicorp terraform docker image
What's the expected behavior?
It will be working in exactly same way as of now but will not require additional curl binary.
Are you able to fix this problem and submit a PR? Link here if you have already.
Yes I am able to create PR
Environment details
hashicorp/terraform:0.12.18
but probably applicable to allhashicorp/terraform
imagesThe text was updated successfully, but these errors were encountered: