-
Notifications
You must be signed in to change notification settings - Fork 53
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 "mongodbatlas" not available for installation. #73
Comments
We are experiencing the same issues. Downloaded the binary, put in into ~/.terraform.d/plugins and .../pluginslinux_amd64/ and get the same error. :( The weird thing is that according to DEBUG log it appears to find the plugin, but still want to download it from releases.terraform.
|
I'm currently not on my computer so I can't reproduce it, but I guess the filename is not correct, you have to remove the "_linux_amd64" according to the naming scheme: https://www.terraform.io/docs/configuration/providers.html#third-party-plugins Sent with GitHawk |
Hi @Knappek we just experienced this issue and renaming (removing "_linux_amd64" ) helps, plugin is installed correctly |
That fixed it for me aswell, thanks |
@akshaykarle you can close this issue. Sent with GitHawk |
@Knappek I would leave it open for a follow-up PR that fixes the actual issue - that the name of the compiled binary is not suitable for installation, otherwise every new user needs to find this closed issue to install it, right? I can try to propose a PR, but I am horrible at go, so I for sure need some help. |
@christianuhlcc I don't think this is possible as you need to differentiate between the different operating systems...it's quite common that you need to rename binaries that you download from the web. What you can do though is enhancing the Readme maybe... Sent with GitHawk |
@Knappek the same issue exists within the zipped releases, we could at least fix those along with the README |
I looked around how other community providers handle it, and everybody does it differently ... Maybe only serving ZIP files with the target system in the name, and the containing file in the usable filename would be the way to go? That would make it obvious for downloaders and easy for installers to do the right thing. |
hey all, thanks for all the inputs. I will update the readme with instructions to rename the binaries to avoid confusion. |
This was my first 3rd party plugin, phew complicated. #for OSX
wget -O ~/.terraform.d/plugins/terraform-provider-mongodbatlas_v1.1.0 https://github.com/akshaykarle/terraform-provider-mongodbatlas/releases/download/v1.1.0/terraform-provider-mongodbatlas_v1.1.0_darwin_amd64 |
This worked for me, adding the following lines before using any resources:
|
Hi ,
I am trying to use this provider following the example folder, but when I ran terraform init, i am getting - Provider "mongodbatlas" not available for installation.
Any idea ?
The text was updated successfully, but these errors were encountered: