You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When installing the plugin with version information appended to the file per terraform documentation, the provider name and version are not parsed correctly when any part of the version suffix is more than one digit.
run TF_LOG=DEBUG terraform init and TF_LOG=DEBUG terraform plan with some terraform configuration that uses this provider.
In the logs for terraform plan, you should see something like this error:
[ERROR] There was an error when getting the provider's name fomr the binary '/Users/chkoehle/.terraform.d/plugins/darwin_amd64/terraform-provider-slvm_v0.20.0': provider binary name (/Users/chkoehle/. terraform.d/plugins/darwin_amd64/terraform-provider-slvm_v0.20.0) does not match terraform naming convention 'terraform-provider-{name}', please rename the provider binary
Expected behaviour
No error to be reported during terraform plan.
Additional context
Checklist
Don't forget to go through the checklist to make sure the issue is created properly:
I have added a corresponding label (feature request/bug/etc) to the issue (right side menu)
I have added this issue to the 'API Terraform Provider' GitHub project (right side menu)
The text was updated successfully, but these errors were encountered:
- Feature #164: Migrate OpenAPI plugin terraform core imports to Terraform Plugin SDK
- Bug Fix#172: provider name and version not parsed correctly when any part of version more than 1 digit
devstar0826
added a commit
to devstar0826/terraform-provider-openapi
that referenced
this issue
Oct 24, 2019
Describe the bug
When installing the plugin with version information appended to the file per terraform documentation, the provider name and version are not parsed correctly when any part of the version suffix is more than one digit.
To Reproduce
Steps to reproduce the behavior:
wget https://github.com/dikhan/terraform-provider-openapi/releases/download/v0.20.0/terraform-provider-openapi_0.20.0_darwin_amd64.tar.gz
tar -xzvf terraform-provider-openapi_0.20.0_darwin_amd64.tar.gz
cp terraform-provider-openapi_v0.20.0 ~/.terraform.d/plugins/darwin_amd64/
TF_LOG=DEBUG terraform init
andTF_LOG=DEBUG terraform plan
with some terraform configuration that uses this provider.In the logs for
terraform plan
, you should see something like this error:Expected behaviour
No error to be reported during
terraform plan
.Additional context
Checklist
Don't forget to go through the checklist to make sure the issue is created properly:
The text was updated successfully, but these errors were encountered: