Skip to content

Commit

Permalink
feat: update to GO 1.18 (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
apeabody authored Jan 6, 2023
1 parent 312e42d commit 66b3bbd
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 5 deletions.
27 changes: 23 additions & 4 deletions modules/key-distributor/files/function/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,27 @@
module github.com/onetwopunch/terraform-google-gsa-encrypter/cfn/encrypter
module github.com/terraform-google-modules/terraform-google-service-accounts/modules/key-distributor/files/function

go 1.14
go 1.18

require (
golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de
google.golang.org/api v0.30.0
golang.org/x/crypto v0.5.0
google.golang.org/api v0.106.0
)

require (
cloud.google.com/go/compute v1.15.0 // indirect
cloud.google.com/go/compute/metadata v0.2.3 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.2.1 // indirect
github.com/googleapis/gax-go/v2 v2.7.0 // indirect
go.opencensus.io v0.24.0 // indirect
golang.org/x/net v0.5.0 // indirect
golang.org/x/oauth2 v0.4.0 // indirect
golang.org/x/sys v0.4.0 // indirect
golang.org/x/text v0.6.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20230104163317-caabf589fcbf // indirect
google.golang.org/grpc v1.51.0 // indirect
google.golang.org/protobuf v1.28.1 // indirect
)
2 changes: 1 addition & 1 deletion modules/key-distributor/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ resource "google_cloudfunctions_function" "function" {
region = var.region
name = var.function_name
description = "Generates and encrypts a new Service Account key given a GPG public key"
runtime = "go113"
runtime = "go118"
trigger_http = true

service_account_email = google_service_account.distributor.email
Expand Down

0 comments on commit 66b3bbd

Please sign in to comment.