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
it seems to be the reason for a provider with a name containing dashes (in the filename) yielding me the following error (running it standalone as MWE, same thing from within ~/.terraform/plugins, called by terraform init)
$ /tmp/test/terraform-provider-a-b
(...)
[ERROR] error getting the provider's name from the binary '/tmp/test/terraform-provider-a-b': provider binary name (/tmp/test/terraform-provider-a-b) does not match terraform naming convention 'terraform-provider-{name}', please rename the provider binary
Expected behaviour
Start processing of the openapi spec.
Additional context
Checklist (for admin only)
Don't forget to go through the checklist to make sure the issue is created properly:
I have added a corresponding label (bug) 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:
Describe the bug
Terraform plugins may contain a dash
-
in the name, but as I read this regexhttps://github.com/dikhan/terraform-provider-openapi/blob/master/main.go#L97
it seems to be the reason for a provider with a name containing dashes (in the filename) yielding me the following error (running it standalone as MWE, same thing from within ~/.terraform/plugins, called by terraform init)
To Reproduce
Steps to reproduce the behavior:
go build
Expected behaviour
Start processing of the openapi spec.
Additional context
Checklist (for admin only)
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: