From b639876aa8916a3b6237973e02741ac721f2b370 Mon Sep 17 00:00:00 2001 From: Andrew Peabody Date: Thu, 5 Jan 2023 17:53:17 +0000 Subject: [PATCH] feat: update to GO 1.16 --- modules/key-distributor/files/function/go.mod | 8 ++++---- modules/key-distributor/main.tf | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/key-distributor/files/function/go.mod b/modules/key-distributor/files/function/go.mod index 429ba22..e840989 100644 --- a/modules/key-distributor/files/function/go.mod +++ b/modules/key-distributor/files/function/go.mod @@ -1,8 +1,8 @@ -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 ) diff --git a/modules/key-distributor/main.tf b/modules/key-distributor/main.tf index 72f3784..7256a72 100644 --- a/modules/key-distributor/main.tf +++ b/modules/key-distributor/main.tf @@ -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