From becc11bf90ce0ff049358d567117fe7b15198c87 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 12 Sep 2024 13:50:13 +0000 Subject: [PATCH] Update terraform --- examples/tfengine/generated/devops/cicd/main.tf | 2 +- examples/tfengine/generated/devops/devops/main.tf | 4 ++-- examples/tfengine/generated/devops/groups/main.tf | 2 +- .../generated/folder_foundation/audit/main.tf | 14 +++++++------- .../generated/folder_foundation/cicd/main.tf | 2 +- .../generated/folder_foundation/devops/main.tf | 4 ++-- .../example-prod-networks/main.tf | 6 +++--- .../generated/folder_foundation/groups/main.tf | 2 +- .../gke_cluster/gke_cluster/cluster/main.tf | 4 ++-- .../gke_cluster/gke_cluster/kubernetes/main.tf | 4 ++-- .../gke_cluster/gke_cluster/networks/main.tf | 4 ++-- .../tfengine/generated/multi_envs/audit/main.tf | 10 +++++----- .../tfengine/generated/multi_envs/cicd/main.tf | 2 +- .../tfengine/generated/multi_envs/dev/data/main.tf | 4 ++-- .../tfengine/generated/multi_envs/devops/main.tf | 4 ++-- .../tfengine/generated/multi_envs/groups/main.tf | 2 +- .../generated/multi_envs/prod/data/main.tf | 4 ++-- .../generated/org_foundation/audit/main.tf | 10 +++++----- .../tfengine/generated/org_foundation/cicd/main.tf | 2 +- .../generated/org_foundation/devops/main.tf | 4 ++-- .../org_foundation/example-prod-networks/main.tf | 6 +++--- .../generated/org_foundation/groups/main.tf | 2 +- .../generated/resources_only/resources/main.tf | 6 +++--- examples/tfengine/generated/team/cicd/main.tf | 6 +++--- examples/tfengine/generated/team/devops/main.tf | 8 ++++---- examples/tfengine/generated/team/groups/main.tf | 2 +- .../tfengine/generated/team/kubernetes/main.tf | 4 ++-- .../tfengine/generated/team/project_apps/main.tf | 10 +++++----- .../tfengine/generated/team/project_data/main.tf | 10 +++++----- .../generated/team/project_networks/main.tf | 14 +++++++------- .../generated/team/project_secrets/main.tf | 6 +++--- templates/tfengine/components/audit/main.tf | 8 ++++---- templates/tfengine/components/cicd/main.tf | 2 +- templates/tfengine/components/devops/main.tf | 4 ++-- templates/tfengine/components/project/main.tf | 4 ++-- .../components/resources/bastion_hosts/main.tf | 2 +- .../components/resources/bigquery_datasets/main.tf | 2 +- .../resources/cloud_sql_instances/main.tf | 2 +- .../resources/compute_instance_templates/main.tf | 4 ++-- .../components/resources/compute_networks/main.tf | 4 ++-- .../components/resources/compute_routers/main.tf | 2 +- .../components/resources/dns_zones/main.tf | 2 +- .../components/resources/gke_clusters/main.tf | 2 +- .../components/resources/pubsub_topics/main.tf | 2 +- .../components/resources/storage_buckets/main.tf | 2 +- .../components/resources/workload_identity/main.tf | 2 +- 46 files changed, 104 insertions(+), 104 deletions(-) diff --git a/examples/tfengine/generated/devops/cicd/main.tf b/examples/tfengine/generated/devops/cicd/main.tf index 71c27afe7..2cc7eba7f 100644 --- a/examples/tfengine/generated/devops/cicd/main.tf +++ b/examples/tfengine/generated/devops/cicd/main.tf @@ -179,7 +179,7 @@ resource "google_project_iam_member" "cloudbuild_scheduler_sa_project_iam" { # Cloud Build - Storage Bucket to store Cloud Build logs. module "logs_bucket" { source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket" - version = "~> 1.4" + version = "~> 6.0" name = var.logs_bucket project_id = var.project_id diff --git a/examples/tfengine/generated/devops/devops/main.tf b/examples/tfengine/generated/devops/devops/main.tf index d73ef9092..77526d0cc 100644 --- a/examples/tfengine/generated/devops/devops/main.tf +++ b/examples/tfengine/generated/devops/devops/main.tf @@ -33,7 +33,7 @@ terraform { # Create the project, enable APIs, and create the deletion lien, if specified. module "project" { source = "terraform-google-modules/project-factory/google" - version = "~> 11.3.0" + version = "~> 16.0.0" name = "example-devops" org_id = "12345678" @@ -52,7 +52,7 @@ module "project" { # Terraform state bucket, hosted in the devops project. module "state_bucket" { source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket" - version = "~> 1.4" + version = "~> 6.0" name = "example-terraform-state" project_id = module.project.project_id diff --git a/examples/tfengine/generated/devops/groups/main.tf b/examples/tfengine/generated/devops/groups/main.tf index 72e7c678c..85ebd9eb8 100644 --- a/examples/tfengine/generated/devops/groups/main.tf +++ b/examples/tfengine/generated/devops/groups/main.tf @@ -28,7 +28,7 @@ terraform { module "project" { source = "terraform-google-modules/project-factory/google//modules/project_services" - version = "~> 11.3.0" + version = "~> 16.0.0" project_id = "example-devops" activate_apis = [] diff --git a/examples/tfengine/generated/folder_foundation/audit/main.tf b/examples/tfengine/generated/folder_foundation/audit/main.tf index 6f9afcbca..4cea6e2a5 100644 --- a/examples/tfengine/generated/folder_foundation/audit/main.tf +++ b/examples/tfengine/generated/folder_foundation/audit/main.tf @@ -15,8 +15,8 @@ terraform { required_version = ">=0.14" required_providers { - google = ">=3.0, <= 3.71" - google-beta = "~>3.50" + google = "<= 6.2" + google-beta = "~> 6.0" kubernetes = "~> 2.10" } backend "gcs" { @@ -30,7 +30,7 @@ terraform { # Shared VPC: https://cloud.google.com/docs/enterprise/best-practices-for-enterprise-organizations#centralize_network_control module "project" { source = "terraform-google-modules/project-factory/google" - version = "~> 11.3.0" + version = "~> 16.0.0" name = "example-audit" org_id = "" @@ -70,7 +70,7 @@ resource "google_folder_iam_audit_config" "config" { module "bigquery_export" { source = "terraform-google-modules/log-export/google" - version = "~> 7.3.0" + version = "~> 9.0.0" log_sink_name = "example-bigquery-audit-logs-sink" destination_uri = module.bigquery_destination.destination_uri @@ -83,7 +83,7 @@ module "bigquery_export" { module "bigquery_destination" { source = "terraform-google-modules/log-export/google//modules/bigquery" - version = "~> 7.3.0" + version = "~> 9.0.0" dataset_name = "1yr_folder_audit_logs" project_id = module.project.project_id @@ -94,7 +94,7 @@ module "bigquery_destination" { module "storage_export" { source = "terraform-google-modules/log-export/google" - version = "~> 7.3.0" + version = "~> 9.0.0" log_sink_name = "example-storage-audit-logs-sink" destination_uri = module.storage_destination.destination_uri @@ -110,7 +110,7 @@ module "storage_export" { // and set the actual expiry to be greater than this amount (7 years). module "storage_destination" { source = "terraform-google-modules/log-export/google//modules/storage" - version = "~> 7.3.0" + version = "~> 9.0.0" storage_bucket_name = "7yr-folder-audit-logs" project_id = module.project.project_id diff --git a/examples/tfengine/generated/folder_foundation/cicd/main.tf b/examples/tfengine/generated/folder_foundation/cicd/main.tf index ccb0cea6b..6c0b52b28 100644 --- a/examples/tfengine/generated/folder_foundation/cicd/main.tf +++ b/examples/tfengine/generated/folder_foundation/cicd/main.tf @@ -184,7 +184,7 @@ resource "google_service_account" "cloudbuild_sa" { # Cloud Build - Storage Bucket to store Cloud Build logs. module "logs_bucket" { source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket" - version = "~> 1.4" + version = "~> 6.0" name = var.logs_bucket project_id = var.project_id diff --git a/examples/tfengine/generated/folder_foundation/devops/main.tf b/examples/tfengine/generated/folder_foundation/devops/main.tf index 8cc4f5d4d..647a64f31 100644 --- a/examples/tfengine/generated/folder_foundation/devops/main.tf +++ b/examples/tfengine/generated/folder_foundation/devops/main.tf @@ -33,7 +33,7 @@ terraform { # Create the project, enable APIs, and create the deletion lien, if specified. module "project" { source = "terraform-google-modules/project-factory/google" - version = "~> 11.3.0" + version = "~> 16.0.0" name = "example-devops" org_id = "" @@ -53,7 +53,7 @@ module "project" { # Terraform state bucket, hosted in the devops project. module "state_bucket" { source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket" - version = "~> 1.4" + version = "~> 6.0" name = "example-terraform-state" project_id = module.project.project_id diff --git a/examples/tfengine/generated/folder_foundation/example-prod-networks/main.tf b/examples/tfengine/generated/folder_foundation/example-prod-networks/main.tf index 7888d0b58..c73e27ea4 100644 --- a/examples/tfengine/generated/folder_foundation/example-prod-networks/main.tf +++ b/examples/tfengine/generated/folder_foundation/example-prod-networks/main.tf @@ -30,7 +30,7 @@ terraform { # Shared VPC: https://cloud.google.com/docs/enterprise/best-practices-for-enterprise-organizations#centralize_network_control module "project" { source = "terraform-google-modules/project-factory/google" - version = "~> 11.3.0" + version = "~> 16.0.0" name = "example-prod-networks" org_id = "" @@ -51,7 +51,7 @@ module "project" { module "example_network" { source = "terraform-google-modules/network/google" - version = "~> 4.0.1" + version = "~> 9.2.0" network_name = "example-network" project_id = module.project.project_id @@ -69,7 +69,7 @@ module "example_network" { module "example_router" { source = "terraform-google-modules/cloud-router/google" - version = "~> 1.2.0" + version = "~> 6.1.0" name = "example-router" project = module.project.project_id diff --git a/examples/tfengine/generated/folder_foundation/groups/main.tf b/examples/tfengine/generated/folder_foundation/groups/main.tf index 7bd9efc9f..c3b5ca19c 100644 --- a/examples/tfengine/generated/folder_foundation/groups/main.tf +++ b/examples/tfengine/generated/folder_foundation/groups/main.tf @@ -28,7 +28,7 @@ terraform { module "project" { source = "terraform-google-modules/project-factory/google//modules/project_services" - version = "~> 11.3.0" + version = "~> 16.0.0" project_id = "example-devops" activate_apis = [] diff --git a/examples/tfengine/generated/gke_cluster/gke_cluster/cluster/main.tf b/examples/tfengine/generated/gke_cluster/gke_cluster/cluster/main.tf index 1aec8c7a9..fc98b119c 100644 --- a/examples/tfengine/generated/gke_cluster/gke_cluster/cluster/main.tf +++ b/examples/tfengine/generated/gke_cluster/gke_cluster/cluster/main.tf @@ -30,7 +30,7 @@ terraform { # Shared VPC: https://cloud.google.com/docs/enterprise/best-practices-for-enterprise-organizations#centralize_network_control module "project" { source = "terraform-google-modules/project-factory/google" - version = "~> 11.3.0" + version = "~> 16.0.0" name = "example-apps" org_id = "12345678" @@ -63,7 +63,7 @@ provider "kubernetes" { module "example_cluster" { source = "terraform-google-modules/kubernetes-engine/google//modules/safer-cluster-update-variant" - version = "~> 21.2" + version = "~> 33.0" providers = { kubernetes = kubernetes.example_cluster diff --git a/examples/tfengine/generated/gke_cluster/gke_cluster/kubernetes/main.tf b/examples/tfengine/generated/gke_cluster/gke_cluster/kubernetes/main.tf index ecff2cb8f..4a81166d6 100644 --- a/examples/tfengine/generated/gke_cluster/gke_cluster/kubernetes/main.tf +++ b/examples/tfengine/generated/gke_cluster/gke_cluster/kubernetes/main.tf @@ -44,7 +44,7 @@ provider "kubernetes" { module "project" { source = "terraform-google-modules/project-factory/google//modules/project_services" - version = "~> 11.3.0" + version = "~> 16.0.0" project_id = "example-apps" activate_apis = [] @@ -71,7 +71,7 @@ resource "kubernetes_namespace" "example_namespace" { module "workload_identity_example_namespace" { source = "terraform-google-modules/kubernetes-engine/google//modules/workload-identity" - version = "16.1.0" + version = "33.0.1" project_id = module.project.project_id name = "example-sa" diff --git a/examples/tfengine/generated/gke_cluster/gke_cluster/networks/main.tf b/examples/tfengine/generated/gke_cluster/gke_cluster/networks/main.tf index 0b13b3f8b..4f9dee68a 100644 --- a/examples/tfengine/generated/gke_cluster/gke_cluster/networks/main.tf +++ b/examples/tfengine/generated/gke_cluster/gke_cluster/networks/main.tf @@ -30,7 +30,7 @@ terraform { # Shared VPC: https://cloud.google.com/docs/enterprise/best-practices-for-enterprise-organizations#centralize_network_control module "project" { source = "terraform-google-modules/project-factory/google" - version = "~> 11.3.0" + version = "~> 16.0.0" name = "example-networks" org_id = "12345678" @@ -50,7 +50,7 @@ module "project" { module "network" { source = "terraform-google-modules/network/google" - version = "~> 4.0.1" + version = "~> 9.2.0" network_name = "network" project_id = module.project.project_id diff --git a/examples/tfengine/generated/multi_envs/audit/main.tf b/examples/tfengine/generated/multi_envs/audit/main.tf index ad530f08c..fb15facf9 100644 --- a/examples/tfengine/generated/multi_envs/audit/main.tf +++ b/examples/tfengine/generated/multi_envs/audit/main.tf @@ -30,7 +30,7 @@ terraform { # Shared VPC: https://cloud.google.com/docs/enterprise/best-practices-for-enterprise-organizations#centralize_network_control module "project" { source = "terraform-google-modules/project-factory/google" - version = "~> 11.3.0" + version = "~> 16.0.0" name = "example-audit" org_id = "" @@ -70,7 +70,7 @@ resource "google_folder_iam_audit_config" "config" { module "bigquery_export" { source = "terraform-google-modules/log-export/google" - version = "~> 7.3.0" + version = "~> 9.0.0" log_sink_name = "example-bigquery-audit-logs-sink" destination_uri = module.bigquery_destination.destination_uri @@ -83,7 +83,7 @@ module "bigquery_export" { module "bigquery_destination" { source = "terraform-google-modules/log-export/google//modules/bigquery" - version = "~> 7.3.0" + version = "~> 9.0.0" dataset_name = "1yr_folder_audit_logs" project_id = module.project.project_id @@ -94,7 +94,7 @@ module "bigquery_destination" { module "storage_export" { source = "terraform-google-modules/log-export/google" - version = "~> 7.3.0" + version = "~> 9.0.0" log_sink_name = "example-storage-audit-logs-sink" destination_uri = module.storage_destination.destination_uri @@ -110,7 +110,7 @@ module "storage_export" { // and set the actual expiry to be greater than this amount (7 years). module "storage_destination" { source = "terraform-google-modules/log-export/google//modules/storage" - version = "~> 7.3.0" + version = "~> 9.0.0" storage_bucket_name = "7yr-folder-audit-logs" project_id = module.project.project_id diff --git a/examples/tfengine/generated/multi_envs/cicd/main.tf b/examples/tfengine/generated/multi_envs/cicd/main.tf index e26f3d9e3..9f894a8f5 100644 --- a/examples/tfengine/generated/multi_envs/cicd/main.tf +++ b/examples/tfengine/generated/multi_envs/cicd/main.tf @@ -193,7 +193,7 @@ resource "google_service_account" "cloudbuild_sa" { # Cloud Build - Storage Bucket to store Cloud Build logs. module "logs_bucket" { source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket" - version = "~> 1.4" + version = "~> 6.0" name = var.logs_bucket project_id = var.project_id diff --git a/examples/tfengine/generated/multi_envs/dev/data/main.tf b/examples/tfengine/generated/multi_envs/dev/data/main.tf index a9ff2bd07..1983f814c 100644 --- a/examples/tfengine/generated/multi_envs/dev/data/main.tf +++ b/examples/tfengine/generated/multi_envs/dev/data/main.tf @@ -37,7 +37,7 @@ data "terraform_remote_state" "folders" { # Shared VPC: https://cloud.google.com/docs/enterprise/best-practices-for-enterprise-organizations#centralize_network_control module "project" { source = "terraform-google-modules/project-factory/google" - version = "~> 11.3.0" + version = "~> 16.0.0" name = "example-data-dev" org_id = "" @@ -57,7 +57,7 @@ module "project" { module "example_bucket_dev" { source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket" - version = "~> 1.4" + version = "~> 6.0" name = "example-bucket-dev" project_id = module.project.project_id diff --git a/examples/tfengine/generated/multi_envs/devops/main.tf b/examples/tfengine/generated/multi_envs/devops/main.tf index afca5d3c9..cc6ea54fc 100644 --- a/examples/tfengine/generated/multi_envs/devops/main.tf +++ b/examples/tfengine/generated/multi_envs/devops/main.tf @@ -39,7 +39,7 @@ provider "google-beta" { # Create the project, enable APIs, and create the deletion lien, if specified. module "project" { source = "terraform-google-modules/project-factory/google" - version = "~> 11.3.0" + version = "~> 16.0.0" name = "example-devops" org_id = "" @@ -59,7 +59,7 @@ module "project" { # Terraform state bucket, hosted in the devops project. module "state_bucket" { source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket" - version = "~> 1.4" + version = "~> 6.0" name = "example-terraform-state" project_id = module.project.project_id diff --git a/examples/tfengine/generated/multi_envs/groups/main.tf b/examples/tfengine/generated/multi_envs/groups/main.tf index e20efbbf6..c750800c2 100644 --- a/examples/tfengine/generated/multi_envs/groups/main.tf +++ b/examples/tfengine/generated/multi_envs/groups/main.tf @@ -28,7 +28,7 @@ terraform { module "project" { source = "terraform-google-modules/project-factory/google//modules/project_services" - version = "~> 11.3.0" + version = "~> 16.0.0" project_id = "example-devops" activate_apis = [] diff --git a/examples/tfengine/generated/multi_envs/prod/data/main.tf b/examples/tfengine/generated/multi_envs/prod/data/main.tf index 3c4012db6..d8d224075 100644 --- a/examples/tfengine/generated/multi_envs/prod/data/main.tf +++ b/examples/tfengine/generated/multi_envs/prod/data/main.tf @@ -37,7 +37,7 @@ data "terraform_remote_state" "folders" { # Shared VPC: https://cloud.google.com/docs/enterprise/best-practices-for-enterprise-organizations#centralize_network_control module "project" { source = "terraform-google-modules/project-factory/google" - version = "~> 11.3.0" + version = "~> 16.0.0" name = "example-data-prod" org_id = "" @@ -58,7 +58,7 @@ module "project" { module "example_bucket_prod" { source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket" - version = "~> 1.4" + version = "~> 6.0" name = "example-bucket-prod" project_id = module.project.project_id diff --git a/examples/tfengine/generated/org_foundation/audit/main.tf b/examples/tfengine/generated/org_foundation/audit/main.tf index 9be4e6ff1..dee7bd4fe 100644 --- a/examples/tfengine/generated/org_foundation/audit/main.tf +++ b/examples/tfengine/generated/org_foundation/audit/main.tf @@ -30,7 +30,7 @@ terraform { # Shared VPC: https://cloud.google.com/docs/enterprise/best-practices-for-enterprise-organizations#centralize_network_control module "project" { source = "terraform-google-modules/project-factory/google" - version = "~> 11.3.0" + version = "~> 16.0.0" name = "example-audit" org_id = "12345678" @@ -69,7 +69,7 @@ resource "google_organization_iam_audit_config" "config" { module "bigquery_export" { source = "terraform-google-modules/log-export/google" - version = "~> 7.3.0" + version = "~> 9.0.0" log_sink_name = "bigquery-audit-logs-sink" destination_uri = module.bigquery_destination.destination_uri @@ -82,7 +82,7 @@ module "bigquery_export" { module "bigquery_destination" { source = "terraform-google-modules/log-export/google//modules/bigquery" - version = "~> 7.3.0" + version = "~> 9.0.0" dataset_name = "1yr_org_audit_logs" project_id = module.project.project_id @@ -93,7 +93,7 @@ module "bigquery_destination" { module "storage_export" { source = "terraform-google-modules/log-export/google" - version = "~> 7.3.0" + version = "~> 9.0.0" log_sink_name = "storage-audit-logs-sink" destination_uri = module.storage_destination.destination_uri @@ -109,7 +109,7 @@ module "storage_export" { // and set the actual expiry to be greater than this amount (7 years). module "storage_destination" { source = "terraform-google-modules/log-export/google//modules/storage" - version = "~> 7.3.0" + version = "~> 9.0.0" storage_bucket_name = "7yr-org-audit-logs" project_id = module.project.project_id diff --git a/examples/tfengine/generated/org_foundation/cicd/main.tf b/examples/tfengine/generated/org_foundation/cicd/main.tf index 347621d93..7caccd107 100644 --- a/examples/tfengine/generated/org_foundation/cicd/main.tf +++ b/examples/tfengine/generated/org_foundation/cicd/main.tf @@ -165,7 +165,7 @@ resource "google_service_account" "cloudbuild_sa" { # Cloud Build - Storage Bucket to store Cloud Build logs. module "logs_bucket" { source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket" - version = "~> 1.4" + version = "~> 6.0" name = var.logs_bucket project_id = var.project_id diff --git a/examples/tfengine/generated/org_foundation/devops/main.tf b/examples/tfengine/generated/org_foundation/devops/main.tf index d73ef9092..77526d0cc 100644 --- a/examples/tfengine/generated/org_foundation/devops/main.tf +++ b/examples/tfengine/generated/org_foundation/devops/main.tf @@ -33,7 +33,7 @@ terraform { # Create the project, enable APIs, and create the deletion lien, if specified. module "project" { source = "terraform-google-modules/project-factory/google" - version = "~> 11.3.0" + version = "~> 16.0.0" name = "example-devops" org_id = "12345678" @@ -52,7 +52,7 @@ module "project" { # Terraform state bucket, hosted in the devops project. module "state_bucket" { source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket" - version = "~> 1.4" + version = "~> 6.0" name = "example-terraform-state" project_id = module.project.project_id diff --git a/examples/tfengine/generated/org_foundation/example-prod-networks/main.tf b/examples/tfengine/generated/org_foundation/example-prod-networks/main.tf index 3dc7c56c8..d031b588f 100644 --- a/examples/tfengine/generated/org_foundation/example-prod-networks/main.tf +++ b/examples/tfengine/generated/org_foundation/example-prod-networks/main.tf @@ -30,7 +30,7 @@ terraform { # Shared VPC: https://cloud.google.com/docs/enterprise/best-practices-for-enterprise-organizations#centralize_network_control module "project" { source = "terraform-google-modules/project-factory/google" - version = "~> 11.3.0" + version = "~> 16.0.0" name = "example-prod-networks" org_id = "12345678" @@ -50,7 +50,7 @@ module "project" { module "example_network" { source = "terraform-google-modules/network/google" - version = "~> 4.0.1" + version = "~> 9.2.0" network_name = "example-network" project_id = module.project.project_id @@ -68,7 +68,7 @@ module "example_network" { module "example_router" { source = "terraform-google-modules/cloud-router/google" - version = "~> 1.2.0" + version = "~> 6.1.0" name = "example-router" project = module.project.project_id diff --git a/examples/tfengine/generated/org_foundation/groups/main.tf b/examples/tfengine/generated/org_foundation/groups/main.tf index 7bd9efc9f..c3b5ca19c 100644 --- a/examples/tfengine/generated/org_foundation/groups/main.tf +++ b/examples/tfengine/generated/org_foundation/groups/main.tf @@ -28,7 +28,7 @@ terraform { module "project" { source = "terraform-google-modules/project-factory/google//modules/project_services" - version = "~> 11.3.0" + version = "~> 16.0.0" project_id = "example-devops" activate_apis = [] diff --git a/examples/tfengine/generated/resources_only/resources/main.tf b/examples/tfengine/generated/resources_only/resources/main.tf index d541f7faa..771dfb6e5 100644 --- a/examples/tfengine/generated/resources_only/resources/main.tf +++ b/examples/tfengine/generated/resources_only/resources/main.tf @@ -28,7 +28,7 @@ terraform { module "project" { source = "terraform-google-modules/project-factory/google//modules/project_services" - version = "~> 11.3.0" + version = "~> 16.0.0" project_id = "example-prod-project" activate_apis = [] @@ -36,7 +36,7 @@ module "project" { module "one_billion_ms_example_dataset" { source = "terraform-google-modules/bigquery/google" - version = "~> 5.3.0" + version = "~> 8.1.0" dataset_id = "1billion_ms_example_dataset" project_id = module.project.project_id @@ -123,7 +123,7 @@ resource "google_service_account" "example_sa" { module "example_prod_bucket" { source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket" - version = "~> 1.4" + version = "~> 6.0" name = "example-prod-bucket" project_id = module.project.project_id diff --git a/examples/tfengine/generated/team/cicd/main.tf b/examples/tfengine/generated/team/cicd/main.tf index ff46811f1..c6999a05c 100644 --- a/examples/tfengine/generated/team/cicd/main.tf +++ b/examples/tfengine/generated/team/cicd/main.tf @@ -15,8 +15,8 @@ terraform { required_version = ">=0.14" required_providers { - google = ">=3.87, < 4.0.0" - google-beta = "~>3.50" + google = "< 7.0.0" + google-beta = "~> 6.0" kubernetes = "~> 2.10" } backend "gcs" { @@ -173,7 +173,7 @@ resource "google_service_account" "cloudbuild_sa" { # Cloud Build - Storage Bucket to store Cloud Build logs. module "logs_bucket" { source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket" - version = "~> 1.4" + version = "~> 6.0" name = var.logs_bucket project_id = var.project_id diff --git a/examples/tfengine/generated/team/devops/main.tf b/examples/tfengine/generated/team/devops/main.tf index dca0f1d6d..a7101b5f9 100644 --- a/examples/tfengine/generated/team/devops/main.tf +++ b/examples/tfengine/generated/team/devops/main.tf @@ -15,8 +15,8 @@ terraform { required_version = ">=0.14" required_providers { - google = ">=3.0, <= 3.71" - google-beta = "~>3.50" + google = "<= 6.2" + google-beta = "~> 6.0" kubernetes = "~> 2.10" } } @@ -39,7 +39,7 @@ provider "google-beta" { # Create the project, enable APIs, and create the deletion lien, if specified. module "project" { source = "terraform-google-modules/project-factory/google" - version = "~> 11.3.0" + version = "~> 16.0.0" name = "example-prod-devops" org_id = "" @@ -68,7 +68,7 @@ module "project" { # Terraform state bucket, hosted in the devops project. module "state_bucket" { source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket" - version = "~> 1.4" + version = "~> 6.0" name = "example-terraform-state" project_id = module.project.project_id diff --git a/examples/tfengine/generated/team/groups/main.tf b/examples/tfengine/generated/team/groups/main.tf index 6b27ffc50..c8e40fb52 100644 --- a/examples/tfengine/generated/team/groups/main.tf +++ b/examples/tfengine/generated/team/groups/main.tf @@ -28,7 +28,7 @@ terraform { module "project" { source = "terraform-google-modules/project-factory/google//modules/project_services" - version = "~> 11.3.0" + version = "~> 16.0.0" project_id = "example-prod-devops" activate_apis = [] diff --git a/examples/tfengine/generated/team/kubernetes/main.tf b/examples/tfengine/generated/team/kubernetes/main.tf index 04b7d2764..6ec8b01b7 100644 --- a/examples/tfengine/generated/team/kubernetes/main.tf +++ b/examples/tfengine/generated/team/kubernetes/main.tf @@ -44,7 +44,7 @@ provider "kubernetes" { module "project" { source = "terraform-google-modules/project-factory/google//modules/project_services" - version = "~> 11.3.0" + version = "~> 16.0.0" project_id = "example-prod-apps" activate_apis = [] @@ -74,7 +74,7 @@ resource "kubernetes_namespace" "namespace" { module "workload_identity_namespace" { source = "terraform-google-modules/kubernetes-engine/google//modules/workload-identity" - version = "16.1.0" + version = "33.0.1" project_id = module.project.project_id name = "runner" diff --git a/examples/tfengine/generated/team/project_apps/main.tf b/examples/tfengine/generated/team/project_apps/main.tf index cba237a3c..37e03ff4f 100644 --- a/examples/tfengine/generated/team/project_apps/main.tf +++ b/examples/tfengine/generated/team/project_apps/main.tf @@ -36,7 +36,7 @@ resource "google_compute_address" "static" { # Shared VPC: https://cloud.google.com/docs/enterprise/best-practices-for-enterprise-organizations#centralize_network_control module "project" { source = "terraform-google-modules/project-factory/google" - version = "~> 11.3.0" + version = "~> 16.0.0" name = "example-prod-apps" org_id = "" @@ -111,7 +111,7 @@ resource "google_binary_authorization_policy" "policy" { module "instance_template" { source = "terraform-google-modules/vm/google//modules/instance_template" - version = "~> 6.6.0" + version = "~> 12.0.0" name_prefix = "instance-template" project_id = module.project.project_id @@ -147,7 +147,7 @@ module "instance_template" { module "instance" { source = "terraform-google-modules/vm/google//modules/compute_instance" - version = "~> 6.6.0" + version = "~> 12.0.0" hostname = "instance" instance_template = module.instance_template.self_link @@ -166,7 +166,7 @@ module "instance" { module "domain" { source = "terraform-google-modules/cloud-dns/google" - version = "~> 3.1.0" + version = "~> 5.3.0" name = "domain" project_id = module.project.project_id @@ -194,7 +194,7 @@ provider "kubernetes" { module "gke_cluster" { source = "terraform-google-modules/kubernetes-engine/google//modules/safer-cluster-update-variant" - version = "~> 21.2" + version = "~> 33.0" providers = { kubernetes = kubernetes.gke_cluster diff --git a/examples/tfengine/generated/team/project_data/main.tf b/examples/tfengine/generated/team/project_data/main.tf index 4f944b54a..31e51f460 100644 --- a/examples/tfengine/generated/team/project_data/main.tf +++ b/examples/tfengine/generated/team/project_data/main.tf @@ -38,7 +38,7 @@ data "google_secret_manager_secret_version" "db_password" { # Shared VPC: https://cloud.google.com/docs/enterprise/best-practices-for-enterprise-organizations#centralize_network_control module "project" { source = "terraform-google-modules/project-factory/google" - version = "~> 11.3.0" + version = "~> 16.0.0" name = "example-prod-data" org_id = "" @@ -81,7 +81,7 @@ module "project" { module "one_billion_ms_dataset" { source = "terraform-google-modules/bigquery/google" - version = "~> 5.3.0" + version = "~> 8.1.0" dataset_id = "1billion_ms_dataset" project_id = module.project.project_id @@ -95,7 +95,7 @@ module "one_billion_ms_dataset" { module "sql_instance" { source = "GoogleCloudPlatform/sql-db/google//modules/safer_mysql" - version = "~> 9.0.0" + version = "~> 21.0.0" name = "sql-instance" project_id = module.project.project_id @@ -234,7 +234,7 @@ module "project_iam_members" { module "topic" { source = "terraform-google-modules/pubsub/google" - version = "~> 4.0.0" + version = "~> 6.0.0" topic = "topic" project_id = module.project.project_id @@ -262,7 +262,7 @@ module "topic" { module "example_bucket" { source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket" - version = "~> 1.4" + version = "~> 6.0" name = "example-bucket" project_id = module.project.project_id diff --git a/examples/tfengine/generated/team/project_networks/main.tf b/examples/tfengine/generated/team/project_networks/main.tf index e70589307..8ac703551 100644 --- a/examples/tfengine/generated/team/project_networks/main.tf +++ b/examples/tfengine/generated/team/project_networks/main.tf @@ -30,7 +30,7 @@ terraform { # Shared VPC: https://cloud.google.com/docs/enterprise/best-practices-for-enterprise-organizations#centralize_network_control module "project" { source = "terraform-google-modules/project-factory/google" - version = "~> 11.3.0" + version = "~> 16.0.0" name = "example-prod-networks" org_id = "" @@ -61,7 +61,7 @@ module "project" { module "bastion_vm" { source = "terraform-google-modules/bastion-host/google" - version = "~> 3.2.0" + version = "~> 7.1.0" name = "bastion-vm" project = module.project.project_id @@ -91,7 +91,7 @@ EOF module "network" { source = "terraform-google-modules/network/google" - version = "~> 4.0.1" + version = "~> 9.2.0" network_name = "network" project_id = module.project.project_id @@ -134,7 +134,7 @@ module "network" { } module "cloud_sql_private_service_access_network" { source = "GoogleCloudPlatform/sql-db/google//modules/private_service_access" - version = "~> 9.0.0" + version = "~> 21.0.0" project_id = module.project.project_id vpc_network = module.network.network_name @@ -145,7 +145,7 @@ module "cloud_sql_private_service_access_network" { module "router" { source = "terraform-google-modules/cloud-router/google" - version = "~> 1.2.0" + version = "~> 6.1.0" name = "router" project = module.project.project_id @@ -170,7 +170,7 @@ module "router" { module "google_apis" { source = "terraform-google-modules/cloud-dns/google" - version = "~> 3.1.0" + version = "~> 5.3.0" name = "google-apis" project_id = module.project.project_id @@ -203,7 +203,7 @@ module "google_apis" { module "gcr" { source = "terraform-google-modules/cloud-dns/google" - version = "~> 3.1.0" + version = "~> 5.3.0" name = "gcr" project_id = module.project.project_id diff --git a/examples/tfengine/generated/team/project_secrets/main.tf b/examples/tfengine/generated/team/project_secrets/main.tf index ffbf242a3..60b4da578 100644 --- a/examples/tfengine/generated/team/project_secrets/main.tf +++ b/examples/tfengine/generated/team/project_secrets/main.tf @@ -15,8 +15,8 @@ terraform { required_version = ">=0.14" required_providers { - google = ">=3.0, <= 3.71" - google-beta = "~>3.50" + google = "<= 6.2" + google-beta = "~> 6.0" null = "~> 3.0" kubernetes = "~> 2.10" } @@ -36,7 +36,7 @@ resource "random_password" "db" { # Shared VPC: https://cloud.google.com/docs/enterprise/best-practices-for-enterprise-organizations#centralize_network_control module "project" { source = "terraform-google-modules/project-factory/google" - version = "~> 11.3.0" + version = "~> 16.0.0" name = "example-prod-secrets" org_id = "" diff --git a/templates/tfengine/components/audit/main.tf b/templates/tfengine/components/audit/main.tf index 0940aa530..5f1cb6451 100644 --- a/templates/tfengine/components/audit/main.tf +++ b/templates/tfengine/components/audit/main.tf @@ -42,7 +42,7 @@ resource "google_{{.parent_type}}_iam_audit_config" "config" { module "bigquery_export" { source = "terraform-google-modules/log-export/google" - version = "~> 7.3.0" + version = "~> 9.0.0" log_sink_name = "{{get .logs_bigquery_dataset "sink_name" "bigquery-audit-logs-sink"}}" destination_uri = "${module.bigquery_destination.destination_uri}" @@ -55,7 +55,7 @@ module "bigquery_export" { module "bigquery_destination" { source = "terraform-google-modules/log-export/google//modules/bigquery" - version = "~> 7.3.0" + version = "~> 9.0.0" dataset_name = "{{.logs_bigquery_dataset.dataset_id}}" project_id = module.project.project_id @@ -66,7 +66,7 @@ module "bigquery_destination" { module "storage_export" { source = "terraform-google-modules/log-export/google" - version = "~> 7.3.0" + version = "~> 9.0.0" log_sink_name = "{{get .logs_storage_bucket "sink_name" "storage-audit-logs-sink"}}" destination_uri = "${module.storage_destination.destination_uri}" @@ -82,7 +82,7 @@ module "storage_export" { // and set the actual expiry to be greater than this amount (7 years). module "storage_destination" { source = "terraform-google-modules/log-export/google//modules/storage" - version = "~> 7.3.0" + version = "~> 9.0.0" storage_bucket_name = "{{.logs_storage_bucket.name}}" project_id = module.project.project_id diff --git a/templates/tfengine/components/cicd/main.tf b/templates/tfengine/components/cicd/main.tf index 39b0acd20..a48b65e07 100644 --- a/templates/tfengine/components/cicd/main.tf +++ b/templates/tfengine/components/cicd/main.tf @@ -264,7 +264,7 @@ resource "google_service_account" "cloudbuild_sa" { # Cloud Build - Storage Bucket to store Cloud Build logs. module "logs_bucket" { source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket" - version = "~> 1.4" + version = "~> 6.0" name = var.logs_bucket project_id = var.project_id diff --git a/templates/tfengine/components/devops/main.tf b/templates/tfengine/components/devops/main.tf index 20167570c..ae0f6e137 100644 --- a/templates/tfengine/components/devops/main.tf +++ b/templates/tfengine/components/devops/main.tf @@ -33,7 +33,7 @@ provider "google-beta" { # Create the project, enable APIs, and create the deletion lien, if specified. module "project" { source = "terraform-google-modules/project-factory/google" - version = "~> 11.3.0" + version = "~> 16.0.0" name = "{{.project.project_id}}" {{- if eq .parent_type "organization"}} @@ -67,7 +67,7 @@ module "project" { # Terraform state bucket, hosted in the devops project. module "state_bucket" { source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket" - version = "~> 1.4" + version = "~> 6.0" name = "{{.state_bucket}}" project_id = module.project.project_id diff --git a/templates/tfengine/components/project/main.tf b/templates/tfengine/components/project/main.tf index eed82566d..3d457f169 100644 --- a/templates/tfengine/components/project/main.tf +++ b/templates/tfengine/components/project/main.tf @@ -12,7 +12,7 @@ limitations under the License. */ -}} {{- if get . "exists"}} module "project" { source = "terraform-google-modules/project-factory/google//modules/project_services" - version = "~> 11.3.0" + version = "~> 16.0.0" project_id = "{{.project_id}}" activate_apis = {{- if has . "apis"}} {{hcl .apis}} {{- else}} [] {{end}} @@ -23,7 +23,7 @@ module "project" { # Shared VPC: https://cloud.google.com/docs/enterprise/best-practices-for-enterprise-organizations#centralize_network_control module "project" { source = "terraform-google-modules/project-factory/google" - version = "~> 11.3.0" + version = "~> 16.0.0" name = "{{.project_id}}" {{- if eq .parent_type "organization"}} diff --git a/templates/tfengine/components/resources/bastion_hosts/main.tf b/templates/tfengine/components/resources/bastion_hosts/main.tf index 053ba8b5f..bbaf3bbdb 100644 --- a/templates/tfengine/components/resources/bastion_hosts/main.tf +++ b/templates/tfengine/components/resources/bastion_hosts/main.tf @@ -15,7 +15,7 @@ limitations under the License. */ -}} {{range .bastion_hosts}} module "{{resourceName . "name"}}" { source = "terraform-google-modules/bastion-host/google" - version = "~> 3.2.0" + version = "~> 7.1.0" name = "{{.name}}" project = module.project.project_id diff --git a/templates/tfengine/components/resources/bigquery_datasets/main.tf b/templates/tfengine/components/resources/bigquery_datasets/main.tf index 3c2bb5d1b..6a1114488 100644 --- a/templates/tfengine/components/resources/bigquery_datasets/main.tf +++ b/templates/tfengine/components/resources/bigquery_datasets/main.tf @@ -15,7 +15,7 @@ limitations under the License. */ -}} {{range get . "bigquery_datasets"}} module "{{resourceName . "dataset_id"}}" { source = "terraform-google-modules/bigquery/google" - version = "~> 5.3.0" + version = "~> 8.1.0" dataset_id = "{{.dataset_id}}" project_id = module.project.project_id diff --git a/templates/tfengine/components/resources/cloud_sql_instances/main.tf b/templates/tfengine/components/resources/cloud_sql_instances/main.tf index 82516fe1b..66719b21d 100644 --- a/templates/tfengine/components/resources/cloud_sql_instances/main.tf +++ b/templates/tfengine/components/resources/cloud_sql_instances/main.tf @@ -21,7 +21,7 @@ limitations under the License. */ -}} {{if eq .type "mysql" -}} module "{{resourceName . "name"}}" { source = "GoogleCloudPlatform/sql-db/google//modules/safer_mysql" - version = "~> 9.0.0" + version = "~> 21.0.0" name = "{{.name}}" project_id = module.project.project_id diff --git a/templates/tfengine/components/resources/compute_instance_templates/main.tf b/templates/tfengine/components/resources/compute_instance_templates/main.tf index c3d5d1c7e..20cfe9e01 100644 --- a/templates/tfengine/components/resources/compute_instance_templates/main.tf +++ b/templates/tfengine/components/resources/compute_instance_templates/main.tf @@ -23,7 +23,7 @@ limitations under the License. */ -}} {{$subnet := .subnet -}} module "{{$template_resource_name}}" { source = "terraform-google-modules/vm/google//modules/instance_template" - version = "~> 6.6.0" + version = "~> 12.0.0" name_prefix = "{{.name_prefix}}" project_id = module.project.project_id @@ -87,7 +87,7 @@ EOF {{range get . "instances" -}} module "{{resourceName . "name"}}" { source = "terraform-google-modules/vm/google//modules/compute_instance" - version = "~> 6.6.0" + version = "~> 12.0.0" hostname = "{{.name}}" instance_template = module.{{$template_resource_name}}.self_link diff --git a/templates/tfengine/components/resources/compute_networks/main.tf b/templates/tfengine/components/resources/compute_networks/main.tf index 44f3def9a..00928320c 100644 --- a/templates/tfengine/components/resources/compute_networks/main.tf +++ b/templates/tfengine/components/resources/compute_networks/main.tf @@ -18,7 +18,7 @@ limitations under the License. */ -}} module "{{$resource_name}}" { source = "terraform-google-modules/network/google" - version = "~> 4.0.1" + version = "~> 9.2.0" network_name = "{{.name}}" project_id = module.project.project_id @@ -60,7 +60,7 @@ module "{{$resource_name}}" { {{- if has . "cloud_sql_private_service_access"}} module "cloud_sql_private_service_access_{{$resource_name}}" { source = "GoogleCloudPlatform/sql-db/google//modules/private_service_access" - version = "~> 9.0.0" + version = "~> 21.0.0" project_id = module.project.project_id vpc_network = module.{{$resource_name}}.network_name diff --git a/templates/tfengine/components/resources/compute_routers/main.tf b/templates/tfengine/components/resources/compute_routers/main.tf index 009a8b8cf..9624d4b55 100644 --- a/templates/tfengine/components/resources/compute_routers/main.tf +++ b/templates/tfengine/components/resources/compute_routers/main.tf @@ -15,7 +15,7 @@ limitations under the License. */ -}} {{range .compute_routers}} module "{{resourceName . "name"}}" { source = "terraform-google-modules/cloud-router/google" - version = "~> 1.2.0" + version = "~> 6.1.0" name = "{{.name}}" project = module.project.project_id diff --git a/templates/tfengine/components/resources/dns_zones/main.tf b/templates/tfengine/components/resources/dns_zones/main.tf index ae27745e0..f4bfd16b6 100644 --- a/templates/tfengine/components/resources/dns_zones/main.tf +++ b/templates/tfengine/components/resources/dns_zones/main.tf @@ -15,7 +15,7 @@ limitations under the License. */ -}} {{range get . "dns_zones"}} module "{{resourceName . "name"}}" { source = "terraform-google-modules/cloud-dns/google" - version = "~> 3.1.0" + version = "~> 5.3.0" name = "{{.name}}" project_id = module.project.project_id diff --git a/templates/tfengine/components/resources/gke_clusters/main.tf b/templates/tfengine/components/resources/gke_clusters/main.tf index ee8d6803b..56fb37c2a 100644 --- a/templates/tfengine/components/resources/gke_clusters/main.tf +++ b/templates/tfengine/components/resources/gke_clusters/main.tf @@ -24,7 +24,7 @@ provider "kubernetes" { module "{{resourceName . "name"}}" { source = "terraform-google-modules/kubernetes-engine/google//modules/safer-cluster-update-variant" - version = "~> 21.2" + version = "~> 33.0" providers = { kubernetes = kubernetes.{{resourceName . "name"}} diff --git a/templates/tfengine/components/resources/pubsub_topics/main.tf b/templates/tfengine/components/resources/pubsub_topics/main.tf index 41a022933..da0be1950 100644 --- a/templates/tfengine/components/resources/pubsub_topics/main.tf +++ b/templates/tfengine/components/resources/pubsub_topics/main.tf @@ -15,7 +15,7 @@ limitations under the License. */ -}} {{range .pubsub_topics}} module "{{resourceName . "name"}}" { source = "terraform-google-modules/pubsub/google" - version = "~> 4.0.0" + version = "~> 6.0.0" topic = "{{.name}}" project_id = module.project.project_id diff --git a/templates/tfengine/components/resources/storage_buckets/main.tf b/templates/tfengine/components/resources/storage_buckets/main.tf index a52f3046b..1feba4238 100644 --- a/templates/tfengine/components/resources/storage_buckets/main.tf +++ b/templates/tfengine/components/resources/storage_buckets/main.tf @@ -15,7 +15,7 @@ limitations under the License. */ -}} {{range get . "storage_buckets"}} module "{{resourceName . "name"}}" { source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket" - version = "~> 1.4" + version = "~> 6.0" name = "{{.name}}" project_id = module.project.project_id diff --git a/templates/tfengine/components/resources/workload_identity/main.tf b/templates/tfengine/components/resources/workload_identity/main.tf index 541a45548..fd18876b4 100644 --- a/templates/tfengine/components/resources/workload_identity/main.tf +++ b/templates/tfengine/components/resources/workload_identity/main.tf @@ -15,7 +15,7 @@ limitations under the License. */ -}} {{range get . "workload_identity"}} module "workload_identity_{{resourceName . "namespace"}}" { source = "terraform-google-modules/kubernetes-engine/google//modules/workload-identity" - version = "16.1.0" + version = "33.0.1" project_id = "{{.project_id}}" name = "{{.google_service_account_id}}"