-
Notifications
You must be signed in to change notification settings - Fork 341
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
Provider "rke" not available for installation #56
Comments
Got a similar error. $ terraform12 init Initializing the backend... Initializing provider plugins...
Provider "rke" not available for installation. A provider named "rke" could not be found in the Terraform Registry. This may result from mistyping the provider name, or the given provider may In the latter case, the plugin must be installed manually by locating and Terraform detects necessary plugins by inspecting the configuration and state. Error: no provider exists with the given name $ ls ~/.terraform.d/plugins/ $ ls ~/.terraform.d/plugins/darwin_amd64/ [Edit] $ ls .terraform/plugins/darwin_amd64/ |
Please refer the terraform official documentation and try to use the "rancher2" as a provider I have reviewed the terraform documentation link on the rke provider repository where the provider documentation link is broken, seems like reference is bit outdated. |
Thanks for the response. Rancher2 is already included in the providers and I am using the example described here https://github.com/rancher/quickstart/blob/master/rancher-common/provider.tf However, after experimenting a bit, if I remove the RKE provider in the above template, it works |
Hey all, this is a result of the RKE provider still being a community plugin and not able to be installed through |
Will the "Terraform Provider for RKE" actively maintained to be compatible with current and future rke releases. I ask because I did not see this listed as on the official list of terraform providers on https://www.terraform.io/docs/providers/ but found an obsolete link on https://github.com/rancher/terraform-provider-rke#using-the-provider pointing to https://www.terraform.io/docs/providers/rke/index.html |
The rke provider is currently in the process of making it's way into https://www.terraform.io/docs/providers/, and will be maintained. |
@sneakersgames I apologize for misunderstanding your original question - the issue according to your screenshot is that terraform expects platform-specific plugins to be installed under |
same issue. After I copy it.
|
For me, doing the following helped. In rancher-common/provider.tf, comment the rke provider
|
true. but I do not know it will break something or not. |
I find out the reason. The current document is outdated.
|
#89 has been merged, are these documentation changes enough to close this issue? |
Getting this error:
This worked for me:
|
@haimari Yes, this issue was created when the required version of the RKE provider was 0.14.1 - my comment above you references a merged PR that added installation instructions for |
I was able to solve that issue by manually downloading the rke v1.1.5 as defined here: https://github.com/rancher/terraform-provider-rke and then creating a directory path ~/.terraform.d/plugins/registry.terraform.io/hashicorp/rke/1.1.5/linux_amd64/ and copying the unzipped file here as terraform-provider-rke. |
Provider installed on both
~/ terraform.d/plugins/darwin_amd64
and~/ terraform.d/plugins/darwin_amd64
, named bothterraform-provider-rke
andterraform-provider-rke_v0.14.1
The text was updated successfully, but these errors were encountered: