-
Notifications
You must be signed in to change notification settings - Fork 501
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
Invalid Go module #790
Comments
This issue is stale because it has been open for 60 days with no activity. Please update the provider to the latest version and, in the issue persist, provide full configuration and debug logs |
Persist. |
This issue is stale because it has been open for 60 days with no activity. Please update the provider to the latest version and, in the issue persist, provide full configuration and debug logs |
Still a problem 🙃 |
This issue is stale because it has been open for 60 days with no activity. Please update the provider to the latest version and, in the issue persist, provide full configuration and debug logs |
Hello,
In
go.mod
the module name isgithub.com/Telmate/terraform-provider-proxmox
, and latest tag isv2.9.14
(major = 2, minor = 9, patch = 14).To refer to this repository we need to add in the
require
section of ago.mod
the module name and its tag.According to the Go versioning documentation :
For this reason, we can't import the current repository as it would require the
go.mod
module name to begithub.com/Telmate/terraform-provider-proxmox
.Reproduce the issue
go mod init test
)main.go
file with the following contentgo mod tidy
)You will observe it targets version
v0.0.0-20230608103617-8f352f2fce3b
(or any other with the same format) which is the default behavior of the Go dependency resolver when no candidate version is found, and especially in this case, because the Go module does not correspond to the latest tag.The text was updated successfully, but these errors were encountered: