Skip to content
This repository has been archived by the owner on Nov 19, 2023. It is now read-only.

Error in Go Build #210

Open
rvsharma66 opened this issue Mar 23, 2022 · 1 comment
Open

Error in Go Build #210

rvsharma66 opened this issue Mar 23, 2022 · 1 comment

Comments

@rvsharma66
Copy link

OS : Mac
GO : 1.13 (Installed via Brew)

go version
go version go1.13.15 darwin/amd64 
╷
│ Error: Error waiting for Creating CloudFunctions Function: Error code 3, message: Build failed: # golang.org/x/net/http2
│ /layers/google.go.functions-framework/gopath/pkg/mod/golang.org/x/[email protected]/http2/transport.go:417:45: undefined: os.ErrDeadlineExceeded
│ note: module requires Go 1.17; Error ID: 975560ac
│
│   with module.filter.google_cloudfunctions_function.filter,
│   on cloudfunctions/filter/main.tf line 15, in resource "google_cloudfunctions_function" "filter":
│   15: resource "google_cloudfunctions_function" "filter" {

I've also tried with go 1.17, but same error output.

@tnguyencota
Copy link

changing the go runtime to go116 in cloudfunctions/filter/main.tf will fix this issue

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

No branches or pull requests

2 participants