Skip to content
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

SNOW-686627: TF Provider Issue #681

Closed
sfc-gh-swinkler opened this issue Nov 1, 2022 · 1 comment
Closed

SNOW-686627: TF Provider Issue #681

sfc-gh-swinkler opened this issue Nov 1, 2022 · 1 comment
Assignees

Comments

@sfc-gh-swinkler
Copy link

Issue description

I am a Snowflake employee working on the Terraform provider which heavily uses the go connector. In the latest release (v1.6.14) the following go module was changed from v0.0.1 to v0.0.9:

github.com/mattn/go-ieproxy v0.0.9 // indirect

This module causes problems when building the code for Windows. Specifically:

Error: ../../../go/pkg/mod/github.com/mattn/go-ieproxy@v0.0.9/ieproxy_windows.go:22:6: getConf redeclared in this block
Error: 	../../../go/pkg/mod/github.com/mattn/go-ieproxy@v0.0.9/ieproxy_unix.go:6:6: other declaration of getConf
Error: ../../../go/pkg/mod/github.com/mattn/go-ieproxy@v0.0.9/ieproxy_windows.go:28:6: reloadConf redeclared in this block
Error: 	../../../go/pkg/mod/github.com/mattn/go-ieproxy@v0.0.9/ieproxy_unix.go:10:6: other declaration of reloadConf
Error: ../../../go/pkg/mod/github.com/mattn/go-ieproxy@v0.0.9/ieproxy_windows.go:133:6: overrideEnvWithStaticProxy redeclared in this block
Error: 	../../../go/pkg/mod/github.com/mattn/go-ieproxy@v0.0.9/ieproxy_unix.go:14:6: other declaration of overrideEnvWithStaticProxy
Error: ../../../go/pkg/mod/github.com/mattn/go-ieproxy@v0.0.9/pac_windows.go:9:29: ProxyScriptConf.findProxyForURL redeclared in this block
Error: 	../../../go/pkg/mod/github.com/mattn/go-ieproxy@v0.0.9/pac_unix.go:6:29: other declaration of findProxyForURL

Error: The process '/opt/hostedtoolcache/goreleaser-action/1.12.3/x64/goreleaser' failed with exit code 1

Please change it back to v0.0.1 or better yet, find a way to get rid of this problematic package. Currently I am unable to upgrade to any version newer than v1.6.13

@github-actions github-actions bot changed the title SNOW-XXXXXX TF Provider Issue SNOW-686627: SNOW-XXXXXX TF Provider Issue Nov 1, 2022
@sfc-gh-swinkler sfc-gh-swinkler changed the title SNOW-686627: SNOW-XXXXXX TF Provider Issue SNOW-686627: TF Provider Issue Nov 1, 2022
@sfc-gh-dszmolka
Copy link
Contributor

resolved by reverting go-ieproxy #689 (and another has been opened to track the update, #690 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants