From 4f00bd4e1f10d6c74142d5ba2860f798913435f1 Mon Sep 17 00:00:00 2001 From: jarpat Date: Thu, 6 Jun 2024 15:11:19 -0400 Subject: [PATCH] update deps to resolve security warnings --- Dockerfile | 4 ++-- README.md | 4 ++-- main.tf | 4 ++-- modules/google_vm/main.tf | 2 +- network.tf | 4 ++-- versions.tf | 6 +++--- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Dockerfile b/Dockerfile index 58ef480..dc3d357 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ # Copyright © 2021-2024, SAS Institute Inc., Cary, NC, USA. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 -ARG TERRAFORM_VERSION=1.7.3 -ARG GCP_CLI_VERSION=472.0.0 +ARG TERRAFORM_VERSION=1.8.5 +ARG GCP_CLI_VERSION=479.0.0 FROM hashicorp/terraform:$TERRAFORM_VERSION as terraform FROM google/cloud-sdk:$GCP_CLI_VERSION-alpine diff --git a/README.md b/README.md index 1b70ab9..a5d5ae9 100644 --- a/README.md +++ b/README.md @@ -31,10 +31,10 @@ Operational knowledge of - Terraform or Docker - #### Terraform - - [Terraform](https://www.terraform.io/downloads.html) - v1.7.3 + - [Terraform](https://www.terraform.io/downloads.html) - v1.8.5 - [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl) - v1.28.7 - [jq](https://stedolan.github.io/jq/) - v1.6 - - [gcloud CLI](https://cloud.google.com/sdk/gcloud) - (optional - useful as an alternative to the Google Cloud Platform Portal) - v472.0.0 + - [gcloud CLI](https://cloud.google.com/sdk/gcloud) - (optional - useful as an alternative to the Google Cloud Platform Portal) - v479.0.0 - [gke-gcloud-auth-plugin](https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-access-for-kubectl#install_plugin) - (optional - only for provider based Kubernetes configuration files) - >= v1.26 - #### Docker - [Docker](https://docs.docker.com/get-docker/) diff --git a/main.tf b/main.tf index d31e57f..5b8f47c 100644 --- a/main.tf +++ b/main.tf @@ -91,7 +91,7 @@ data "google_container_engine_versions" "gke-version" { module "gke" { source = "terraform-google-modules/kubernetes-engine/google//modules/private-cluster" - version = "~> 30.0.0" + version = "~> 31.0.0" project_id = var.project name = "${var.prefix}-gke" region = local.region @@ -241,7 +241,7 @@ resource "local_file" "kubeconfig" { # Module Registry - https://registry.terraform.io/modules/GoogleCloudPlatform/sql-db/google/12.0.0/submodules/postgresql module "postgresql" { source = "GoogleCloudPlatform/sql-db/google//modules/postgresql" - version = "~> 19.0.0" + version = "~> 20.1.0" project_id = var.project for_each = local.postgres_servers != null ? length(local.postgres_servers) != 0 ? local.postgres_servers : {} : {} diff --git a/modules/google_vm/main.tf b/modules/google_vm/main.tf index b525218..21be6e9 100755 --- a/modules/google_vm/main.tf +++ b/modules/google_vm/main.tf @@ -3,7 +3,7 @@ module "address" { source = "terraform-google-modules/address/google" - version = "~> 3.2.0" + version = "~> 4.0.0" project_id = var.project region = var.region address_type = "EXTERNAL" diff --git a/network.tf b/network.tf index 03c10ff..511accc 100644 --- a/network.tf +++ b/network.tf @@ -11,7 +11,7 @@ data "google_compute_address" "nat_address" { module "nat_address" { count = length(var.nat_address_name) == 0 ? 1 : 0 source = "terraform-google-modules/address/google" - version = "~> 3.2.0" + version = "~> 4.0.0" project_id = var.project region = local.region address_type = "EXTERNAL" @@ -23,7 +23,7 @@ module "nat_address" { module "cloud_nat" { count = length(var.nat_address_name) == 0 ? 1 : 0 source = "terraform-google-modules/cloud-nat/google" - version = "~> 5.0.0" + version = "~> 5.1.0" project_id = var.project name = "${var.prefix}-cloud-nat" region = local.region diff --git a/versions.tf b/versions.tf index f473e75..2889512 100644 --- a/versions.tf +++ b/versions.tf @@ -2,16 +2,16 @@ # SPDX-License-Identifier: Apache-2.0 terraform { - required_version = ">= 1.4.5" + required_version = ">= 1.8.0" required_providers { google = { source = "hashicorp/google" - version = "5.16.0" + version = "5.31.0" } google-beta = { source = "hashicorp/google-beta" - version = "5.16.0" + version = "5.31.0" } kubernetes = { source = "hashicorp/kubernetes"