Closed WalkerGriggs closed 6 years ago
Hi @WalkerGriggs! Can you shed some light on exactly what action or assistance you would like from us on this issue? I'm having trouble figuring out if you're asking for us to switch from vendoring to using dep, if you're asking for us to make using the package with dep work, or if something else is going on here.
Hi @paddycarver, my initial issue was a bit on the sparse side so let me clarify. I'm wondering if vendoring the package into 3rd party with dep is even supported. From your response, it seems that provider package doesn't/isn't intended to work with dep. In which case, this issue is as good as closed.
At the moment, I don't think any special effort is made to make the package vendorable. I suppose it's something that could be raised for discussion if there was enough interest in it, but I think even then, we'd probably revisit once the Go versioning experiment had a bit more mileage under it.
I'll close this out as you indicated, but I think our stance at the moment is that it may or may not work with dep, we don't know, and I don't know that we have an official position on whether it should or not. If you feel this should be reopened or would like to discuss the possibility of us deciding we want to support this, feel free to reply, and we can have that conversation.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!
I've been working on an project which calls the provider directly (in this case it's
google.Provider()
). Previously, I was getting the package with withgo get
, but have since shifted to the dep tool for vendoring and version pinning.The expected behavior is to vendor the dependency, but instead I'm running into number of build errors.
Steps to reproduce:
import ("github.com/terraform-providers/terraform-provider-google/google")
func main() { _ = google.Provider() }
[[constraint]] name = "github.com/terraform-providers/terraform-provider-google" version = "1.15.0"