cdktf-provider-vault: Go Pkg Seems to be unusable - duplicate method #2907
Labels
bug
Something isn't working
language/golang
pre-built providers
Issues around pre-built providers managed at https://github.com/hashicorp/cdktf-repository-manager
priority/important-soon
High priority, to be worked on as part of our current release or the following one.
Expected Behavior
Currently, am trying to learn and try to use the Vault Provider's Golang package for experimentation and prototyping of a new service I'm trying to build.
I was hoping to be able to use the provider and run code to try and generate a working package that can compile and be built
Actual Behavior
My team uses Bazel, to handle a central go.mod for all projects across the monorepo. The main use of it is to handle the dependency packages for all golang packages being used
We run the
go mod tidy
as a process to make sure the mod is updated and clean and I see this message stemming fromgo mod
when pulling in the package dep per the documentationMy first thought it to replace this with the declared path and change my mod.
go mod
works and everything looks okay but then I got this error when attempting to build the project with the dependencies pulled inSteps to Reproduce
go mod tidy
go build
or if using bazel , can run the target that builds a go_libraryVersions
Providers
Gist
https://gist.github.com/Mercanuis/c98fafbd270b6e1bab0bf35cc8fd8507
Workarounds
None yet, conversely trying to use the listed package on the documentation results in the following output stated above
Anything Else?
Bazel might be one possible factor. However, the way its set up in our project is simply using the golang toolchain's version of
go mod
go build
etc.References
No response
Help Wanted
Community Note
The text was updated successfully, but these errors were encountered: