Skip to content

Commit

Permalink
feat: update to GO 1.16
Browse files Browse the repository at this point in the history
  • Loading branch information
apeabody committed Jan 5, 2023
1 parent 312e42d commit 2f1ae58
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
15 changes: 11 additions & 4 deletions modules/key-distributor/files/function/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
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.16

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
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
golang.org/x/oauth2 v0.4.0 // indirect
google.golang.org/genproto v0.0.0-20230104163317-caabf589fcbf // 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 = "go116"
trigger_http = true

service_account_email = google_service_account.distributor.email
Expand Down

0 comments on commit 2f1ae58

Please sign in to comment.