diff --git a/examples/tfengine/generated/devops/cicd/main.tf b/examples/tfengine/generated/devops/cicd/main.tf index fa904c1b7..470c67e59 100644 --- a/examples/tfengine/generated/devops/cicd/main.tf +++ b/examples/tfengine/generated/devops/cicd/main.tf @@ -17,7 +17,7 @@ terraform { required_providers { google = ">= 3.0" google-beta = ">= 3.0" - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" } backend "gcs" { bucket = "example-terraform-state" @@ -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 = "~> 3.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 ba9bdd8e1..f57a76afc 100644 --- a/examples/tfengine/generated/devops/devops/main.tf +++ b/examples/tfengine/generated/devops/devops/main.tf @@ -17,7 +17,7 @@ terraform { required_providers { google = ">= 3.0" google-beta = ">= 3.0" - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" } } @@ -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 = "~> 13.1.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 = "~> 3.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 4a5983d42..72bb50af2 100644 --- a/examples/tfengine/generated/devops/groups/main.tf +++ b/examples/tfengine/generated/devops/groups/main.tf @@ -17,7 +17,7 @@ terraform { required_providers { google = ">= 3.0" google-beta = ">= 3.0" - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" } backend "gcs" { bucket = "example-terraform-state" @@ -28,7 +28,7 @@ terraform { module "project" { source = "terraform-google-modules/project-factory/google//modules/project_services" - version = "~> 11.3.0" + version = "~> 13.1.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 d32b4be40..058bca0e1 100644 --- a/examples/tfengine/generated/folder_foundation/audit/main.tf +++ b/examples/tfengine/generated/folder_foundation/audit/main.tf @@ -15,9 +15,9 @@ terraform { required_version = ">=0.14" required_providers { - google = ">=3.0, <= 3.71" - google-beta = "~>3.50" - kubernetes = "~> 1.0" + google = "<= 4.36" + google-beta = "~>4.0" + kubernetes = "~> 2.0" } backend "gcs" { bucket = "example-terraform-state" @@ -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 = "~> 13.1.0" name = "example-audit" org_id = "" diff --git a/examples/tfengine/generated/folder_foundation/cicd/main.tf b/examples/tfengine/generated/folder_foundation/cicd/main.tf index 3ede8eae4..27d8d47a9 100644 --- a/examples/tfengine/generated/folder_foundation/cicd/main.tf +++ b/examples/tfengine/generated/folder_foundation/cicd/main.tf @@ -17,7 +17,7 @@ terraform { required_providers { google = ">= 3.0" google-beta = ">= 3.0" - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" } backend "gcs" { bucket = "example-terraform-state" @@ -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 = "~> 3.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 9b7aec414..514884980 100644 --- a/examples/tfengine/generated/folder_foundation/devops/main.tf +++ b/examples/tfengine/generated/folder_foundation/devops/main.tf @@ -17,7 +17,7 @@ terraform { required_providers { google = ">= 3.0" google-beta = ">= 3.0" - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" } } @@ -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 = "~> 13.1.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 = "~> 3.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 6242df8c8..b8c4356cb 100644 --- a/examples/tfengine/generated/folder_foundation/example-prod-networks/main.tf +++ b/examples/tfengine/generated/folder_foundation/example-prod-networks/main.tf @@ -17,7 +17,7 @@ terraform { required_providers { google = ">= 3.0" google-beta = ">= 3.0" - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" } backend "gcs" { bucket = "example-terraform-state" @@ -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 = "~> 13.1.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 = "~> 5.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 = "~> 3.0.0" name = "example-router" project = module.project.project_id diff --git a/examples/tfengine/generated/folder_foundation/folders/main.tf b/examples/tfengine/generated/folder_foundation/folders/main.tf index eaafbb33f..b4c0bfde9 100644 --- a/examples/tfengine/generated/folder_foundation/folders/main.tf +++ b/examples/tfengine/generated/folder_foundation/folders/main.tf @@ -17,7 +17,7 @@ terraform { required_providers { google = ">= 3.0" google-beta = ">= 3.0" - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" } backend "gcs" { bucket = "example-terraform-state" diff --git a/examples/tfengine/generated/folder_foundation/groups/main.tf b/examples/tfengine/generated/folder_foundation/groups/main.tf index f64b1f88c..e426bed56 100644 --- a/examples/tfengine/generated/folder_foundation/groups/main.tf +++ b/examples/tfengine/generated/folder_foundation/groups/main.tf @@ -17,7 +17,7 @@ terraform { required_providers { google = ">= 3.0" google-beta = ">= 3.0" - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" } backend "gcs" { bucket = "example-terraform-state" @@ -28,7 +28,7 @@ terraform { module "project" { source = "terraform-google-modules/project-factory/google//modules/project_services" - version = "~> 11.3.0" + version = "~> 13.1.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 00e68ab4b..4d133ce50 100644 --- a/examples/tfengine/generated/gke_cluster/gke_cluster/cluster/main.tf +++ b/examples/tfengine/generated/gke_cluster/gke_cluster/cluster/main.tf @@ -17,7 +17,7 @@ terraform { required_providers { google = ">= 3.0" google-beta = ">= 3.0" - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" } backend "gcs" { bucket = "example-terraform-state" @@ -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 = "~> 13.1.0" name = "example-apps" org_id = "12345678" @@ -64,7 +64,7 @@ provider "kubernetes" { module "example_cluster" { source = "terraform-google-modules/kubernetes-engine/google//modules/safer-cluster-update-variant" - version = "~> 13.1.0" + version = "~> 23.0.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 136c297a5..30c7aa674 100644 --- a/examples/tfengine/generated/gke_cluster/gke_cluster/kubernetes/main.tf +++ b/examples/tfengine/generated/gke_cluster/gke_cluster/kubernetes/main.tf @@ -17,7 +17,7 @@ terraform { required_providers { google = ">= 3.0" google-beta = ">= 3.0" - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" } backend "gcs" { bucket = "example-terraform-state" @@ -45,7 +45,7 @@ provider "kubernetes" { module "project" { source = "terraform-google-modules/project-factory/google//modules/project_services" - version = "~> 11.3.0" + version = "~> 13.1.0" project_id = "example-apps" activate_apis = [] @@ -72,7 +72,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 = "23.0.0" 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 c08dae72d..b9cd0c683 100644 --- a/examples/tfengine/generated/gke_cluster/gke_cluster/networks/main.tf +++ b/examples/tfengine/generated/gke_cluster/gke_cluster/networks/main.tf @@ -17,7 +17,7 @@ terraform { required_providers { google = ">= 3.0" google-beta = ">= 3.0" - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" } backend "gcs" { bucket = "example-terraform-state" @@ -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 = "~> 13.1.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 = "~> 5.2.0" network_name = "network" project_id = module.project.project_id diff --git a/examples/tfengine/generated/iam_members/iam_members/main.tf b/examples/tfengine/generated/iam_members/iam_members/main.tf index bf736e644..418e923f3 100644 --- a/examples/tfengine/generated/iam_members/iam_members/main.tf +++ b/examples/tfengine/generated/iam_members/iam_members/main.tf @@ -17,7 +17,7 @@ terraform { required_providers { google = ">= 3.0" google-beta = ">= 3.0" - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" } backend "gcs" { bucket = "example-terraform-state" diff --git a/examples/tfengine/generated/multi_envs/audit/main.tf b/examples/tfengine/generated/multi_envs/audit/main.tf index 9da7df33a..a2c4a09fa 100644 --- a/examples/tfengine/generated/multi_envs/audit/main.tf +++ b/examples/tfengine/generated/multi_envs/audit/main.tf @@ -17,7 +17,7 @@ terraform { required_providers { google = ">= 3.0" google-beta = ">= 3.0" - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" } backend "gcs" { bucket = "example-terraform-state" @@ -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 = "~> 13.1.0" name = "example-audit" org_id = "" diff --git a/examples/tfengine/generated/multi_envs/cicd/main.tf b/examples/tfengine/generated/multi_envs/cicd/main.tf index c4fc47e80..0822faa5f 100644 --- a/examples/tfengine/generated/multi_envs/cicd/main.tf +++ b/examples/tfengine/generated/multi_envs/cicd/main.tf @@ -17,7 +17,7 @@ terraform { required_providers { google = ">= 3.0" google-beta = ">= 3.0" - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" } backend "gcs" { bucket = "example-terraform-state" @@ -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 = "~> 3.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 67b08ba26..846ec963d 100644 --- a/examples/tfengine/generated/multi_envs/dev/data/main.tf +++ b/examples/tfengine/generated/multi_envs/dev/data/main.tf @@ -17,7 +17,7 @@ terraform { required_providers { google = ">= 3.0" google-beta = ">= 3.0" - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" } backend "gcs" { bucket = "example-terraform-state" @@ -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 = "~> 13.1.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 = "~> 3.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 acaf68cb6..db3531232 100644 --- a/examples/tfengine/generated/multi_envs/devops/main.tf +++ b/examples/tfengine/generated/multi_envs/devops/main.tf @@ -17,7 +17,7 @@ terraform { required_providers { google = ">= 3.0" google-beta = ">= 3.0" - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" } } @@ -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 = "~> 13.1.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 = "~> 3.0" name = "example-terraform-state" project_id = module.project.project_id diff --git a/examples/tfengine/generated/multi_envs/folders/main.tf b/examples/tfengine/generated/multi_envs/folders/main.tf index 85690b17d..4c06347a3 100644 --- a/examples/tfengine/generated/multi_envs/folders/main.tf +++ b/examples/tfengine/generated/multi_envs/folders/main.tf @@ -17,7 +17,7 @@ terraform { required_providers { google = ">= 3.0" google-beta = ">= 3.0" - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" } backend "gcs" { bucket = "example-terraform-state" diff --git a/examples/tfengine/generated/multi_envs/groups/main.tf b/examples/tfengine/generated/multi_envs/groups/main.tf index e8b4a1ddb..c7f471f98 100644 --- a/examples/tfengine/generated/multi_envs/groups/main.tf +++ b/examples/tfengine/generated/multi_envs/groups/main.tf @@ -17,7 +17,7 @@ terraform { required_providers { google = ">= 3.0" google-beta = ">= 3.0" - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" } backend "gcs" { bucket = "example-terraform-state" @@ -28,7 +28,7 @@ terraform { module "project" { source = "terraform-google-modules/project-factory/google//modules/project_services" - version = "~> 11.3.0" + version = "~> 13.1.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 42e2b70a1..37ef19f68 100644 --- a/examples/tfengine/generated/multi_envs/prod/data/main.tf +++ b/examples/tfengine/generated/multi_envs/prod/data/main.tf @@ -17,7 +17,7 @@ terraform { required_providers { google = ">= 3.0" google-beta = ">= 3.0" - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" } backend "gcs" { bucket = "example-terraform-state" @@ -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 = "~> 13.1.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 = "~> 3.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 95a34d4fd..fddd0f639 100644 --- a/examples/tfengine/generated/org_foundation/audit/main.tf +++ b/examples/tfengine/generated/org_foundation/audit/main.tf @@ -17,7 +17,7 @@ terraform { required_providers { google = ">= 3.0" google-beta = ">= 3.0" - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" } backend "gcs" { bucket = "example-terraform-state" @@ -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 = "~> 13.1.0" name = "example-audit" org_id = "12345678" diff --git a/examples/tfengine/generated/org_foundation/cicd/main.tf b/examples/tfengine/generated/org_foundation/cicd/main.tf index b942096bb..619cdd85a 100644 --- a/examples/tfengine/generated/org_foundation/cicd/main.tf +++ b/examples/tfengine/generated/org_foundation/cicd/main.tf @@ -17,7 +17,7 @@ terraform { required_providers { google = ">= 3.0" google-beta = ">= 3.0" - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" } backend "gcs" { bucket = "example-terraform-state" @@ -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 = "~> 3.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 ba9bdd8e1..f57a76afc 100644 --- a/examples/tfengine/generated/org_foundation/devops/main.tf +++ b/examples/tfengine/generated/org_foundation/devops/main.tf @@ -17,7 +17,7 @@ terraform { required_providers { google = ">= 3.0" google-beta = ">= 3.0" - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" } } @@ -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 = "~> 13.1.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 = "~> 3.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 d1a531255..0ccae7c31 100644 --- a/examples/tfengine/generated/org_foundation/example-prod-networks/main.tf +++ b/examples/tfengine/generated/org_foundation/example-prod-networks/main.tf @@ -17,7 +17,7 @@ terraform { required_providers { google = ">= 3.0" google-beta = ">= 3.0" - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" } backend "gcs" { bucket = "example-terraform-state" @@ -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 = "~> 13.1.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 = "~> 5.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 = "~> 3.0.0" name = "example-router" project = module.project.project_id diff --git a/examples/tfengine/generated/org_foundation/folders/main.tf b/examples/tfengine/generated/org_foundation/folders/main.tf index 8f207f79a..f9b23090b 100644 --- a/examples/tfengine/generated/org_foundation/folders/main.tf +++ b/examples/tfengine/generated/org_foundation/folders/main.tf @@ -17,7 +17,7 @@ terraform { required_providers { google = ">= 3.0" google-beta = ">= 3.0" - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" } backend "gcs" { bucket = "example-terraform-state" diff --git a/examples/tfengine/generated/org_foundation/groups/main.tf b/examples/tfengine/generated/org_foundation/groups/main.tf index f64b1f88c..e426bed56 100644 --- a/examples/tfengine/generated/org_foundation/groups/main.tf +++ b/examples/tfengine/generated/org_foundation/groups/main.tf @@ -17,7 +17,7 @@ terraform { required_providers { google = ">= 3.0" google-beta = ">= 3.0" - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" } backend "gcs" { bucket = "example-terraform-state" @@ -28,7 +28,7 @@ terraform { module "project" { source = "terraform-google-modules/project-factory/google//modules/project_services" - version = "~> 11.3.0" + version = "~> 13.1.0" project_id = "example-devops" activate_apis = [] diff --git a/examples/tfengine/generated/org_foundation/org_policies/main.tf b/examples/tfengine/generated/org_foundation/org_policies/main.tf index 076955844..77edca643 100644 --- a/examples/tfengine/generated/org_foundation/org_policies/main.tf +++ b/examples/tfengine/generated/org_foundation/org_policies/main.tf @@ -17,7 +17,7 @@ terraform { required_providers { google = ">= 3.0" google-beta = ">= 3.0" - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" } backend "gcs" { bucket = "example-terraform-state" diff --git a/examples/tfengine/generated/org_policies/org_policies/main.tf b/examples/tfengine/generated/org_policies/org_policies/main.tf index 3fc90db2b..e6032e664 100644 --- a/examples/tfengine/generated/org_policies/org_policies/main.tf +++ b/examples/tfengine/generated/org_policies/org_policies/main.tf @@ -17,7 +17,7 @@ terraform { required_providers { google = ">= 3.0" google-beta = ">= 3.0" - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" } backend "gcs" { bucket = "example-terraform-state" diff --git a/examples/tfengine/generated/resources_only/resources/main.tf b/examples/tfengine/generated/resources_only/resources/main.tf index ea44a4ad1..025e579c3 100644 --- a/examples/tfengine/generated/resources_only/resources/main.tf +++ b/examples/tfengine/generated/resources_only/resources/main.tf @@ -17,7 +17,7 @@ terraform { required_providers { google = ">= 3.0" google-beta = ">= 3.0" - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" } backend "gcs" { bucket = "example-terraform-state" @@ -28,7 +28,7 @@ terraform { module "project" { source = "terraform-google-modules/project-factory/google//modules/project_services" - version = "~> 11.3.0" + version = "~> 13.1.0" project_id = "example-prod-project" activate_apis = [] @@ -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 = "~> 3.0" name = "example-prod-bucket" project_id = module.project.project_id diff --git a/examples/tfengine/generated/team/additional_iam_members/main.tf b/examples/tfengine/generated/team/additional_iam_members/main.tf index 0ec543df3..88946894b 100644 --- a/examples/tfengine/generated/team/additional_iam_members/main.tf +++ b/examples/tfengine/generated/team/additional_iam_members/main.tf @@ -17,7 +17,7 @@ terraform { required_providers { google = ">= 3.0" google-beta = ">= 3.0" - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" } backend "gcs" { bucket = "example-terraform-state" diff --git a/examples/tfengine/generated/team/cicd/main.tf b/examples/tfengine/generated/team/cicd/main.tf index 191ae9226..7502c2a1f 100644 --- a/examples/tfengine/generated/team/cicd/main.tf +++ b/examples/tfengine/generated/team/cicd/main.tf @@ -15,9 +15,9 @@ terraform { required_version = ">=0.14" required_providers { - google = ">=3.87, < 4.0.0" - google-beta = "~>3.50" - kubernetes = "~> 1.0" + google = "< 5.0.0" + google-beta = "~>4.0" + kubernetes = "~> 2.0" } backend "gcs" { bucket = "example-terraform-state" @@ -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 = "~> 3.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 ecc856e72..0910f5a92 100644 --- a/examples/tfengine/generated/team/devops/main.tf +++ b/examples/tfengine/generated/team/devops/main.tf @@ -15,9 +15,9 @@ terraform { required_version = ">=0.14" required_providers { - google = ">=3.0, <= 3.71" - google-beta = "~>3.50" - kubernetes = "~> 1.0" + google = "<= 4.36" + google-beta = "~>4.0" + kubernetes = "~> 2.0" } } @@ -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 = "~> 13.1.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 = "~> 3.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 cc5729f86..16e3c922b 100644 --- a/examples/tfengine/generated/team/groups/main.tf +++ b/examples/tfengine/generated/team/groups/main.tf @@ -17,7 +17,7 @@ terraform { required_providers { google = ">= 3.0" google-beta = ">= 3.0" - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" } backend "gcs" { bucket = "example-terraform-state" @@ -28,7 +28,7 @@ terraform { module "project" { source = "terraform-google-modules/project-factory/google//modules/project_services" - version = "~> 11.3.0" + version = "~> 13.1.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 b2d360420..0573e116a 100644 --- a/examples/tfengine/generated/team/kubernetes/main.tf +++ b/examples/tfengine/generated/team/kubernetes/main.tf @@ -17,7 +17,7 @@ terraform { required_providers { google = ">= 3.0" google-beta = ">= 3.0" - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" } backend "gcs" { bucket = "example-terraform-state" @@ -45,7 +45,7 @@ provider "kubernetes" { module "project" { source = "terraform-google-modules/project-factory/google//modules/project_services" - version = "~> 11.3.0" + version = "~> 13.1.0" project_id = "example-prod-apps" activate_apis = [] @@ -75,7 +75,7 @@ resource "kubernetes_namespace" "namespace" { module "workload_identity_namespace" { source = "terraform-google-modules/kubernetes-engine/google//modules/workload-identity" - version = "16.1.0" + version = "23.0.0" 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 df80f02e9..417b9c158 100644 --- a/examples/tfengine/generated/team/project_apps/main.tf +++ b/examples/tfengine/generated/team/project_apps/main.tf @@ -17,7 +17,7 @@ terraform { required_providers { google = ">= 3.0" google-beta = ">= 3.0" - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" } backend "gcs" { bucket = "example-terraform-state" @@ -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 = "~> 13.1.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 = "~> 7.8.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 = "~> 7.8.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 = "~> 4.1.0" name = "domain" project_id = module.project.project_id @@ -195,7 +195,7 @@ provider "kubernetes" { module "gke_cluster" { source = "terraform-google-modules/kubernetes-engine/google//modules/safer-cluster-update-variant" - version = "~> 13.1.0" + version = "~> 23.0.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 0f2592b60..cf5f23889 100644 --- a/examples/tfengine/generated/team/project_data/main.tf +++ b/examples/tfengine/generated/team/project_data/main.tf @@ -17,7 +17,7 @@ terraform { required_providers { google = ">= 3.0" google-beta = ">= 3.0" - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" } backend "gcs" { bucket = "example-terraform-state" @@ -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 = "~> 13.1.0" name = "example-prod-data" org_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 = "~> 12.0.0" name = "sql-instance" project_id = module.project.project_id @@ -252,7 +252,7 @@ module "topic" { module "example_bucket" { source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket" - version = "~> 1.4" + version = "~> 3.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 2ce2a457c..4774a460e 100644 --- a/examples/tfengine/generated/team/project_networks/main.tf +++ b/examples/tfengine/generated/team/project_networks/main.tf @@ -17,7 +17,7 @@ terraform { required_providers { google = ">= 3.0" google-beta = ">= 3.0" - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" } backend "gcs" { bucket = "example-terraform-state" @@ -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 = "~> 13.1.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 = "~> 5.0.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 = "~> 5.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 = "~> 12.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 = "~> 3.0.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 = "~> 4.1.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 = "~> 4.1.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 7c3005f60..d5fe2c0e9 100644 --- a/examples/tfengine/generated/team/project_secrets/main.tf +++ b/examples/tfengine/generated/team/project_secrets/main.tf @@ -15,10 +15,10 @@ terraform { required_version = ">=0.14" required_providers { - google = ">=3.0, <= 3.71" - google-beta = "~>3.50" + google = "<= 4.36" + google-beta = "~>4.0" null = "~> 3.0" - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" } backend "gcs" { bucket = "example-terraform-state" @@ -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 = "~> 13.1.0" name = "example-prod-secrets" org_id = "" diff --git a/templates/tfengine/components/cicd/main.tf b/templates/tfengine/components/cicd/main.tf index 39b0acd20..a4fb3fbeb 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 = "~> 3.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..a08ffc2ff 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 = "~> 13.1.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 = "~> 3.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..26e5c3bf6 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 = "~> 13.1.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 = "~> 13.1.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..c5583ae54 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 = "~> 5.0.0" name = "{{.name}}" project = 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..c085d9dab 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 = "~> 12.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..c5af84a21 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 = "~> 7.8.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 = "~> 7.8.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..215412970 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 = "~> 5.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 = "~> 12.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..a2353581c 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 = "~> 3.0.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..d813c4fdc 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 = "~> 4.1.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 74060dd9b..366562aea 100644 --- a/templates/tfengine/components/resources/gke_clusters/main.tf +++ b/templates/tfengine/components/resources/gke_clusters/main.tf @@ -25,7 +25,7 @@ provider "kubernetes" { module "{{resourceName . "name"}}" { source = "terraform-google-modules/kubernetes-engine/google//modules/safer-cluster-update-variant" - version = "~> 13.1.0" + version = "~> 23.0.0" providers = { kubernetes = kubernetes.{{resourceName . "name"}} diff --git a/templates/tfengine/components/resources/storage_buckets/main.tf b/templates/tfengine/components/resources/storage_buckets/main.tf index 11abed096..b9b9f27dc 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 = "~> 3.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..f1f2ac7bb 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 = "23.0.0" project_id = "{{.project_id}}" name = "{{.google_service_account_id}}" diff --git a/templates/tfengine/components/terraform/main/main.tf b/templates/tfengine/components/terraform/main/main.tf index 5014e42d2..d344d64da 100644 --- a/templates/tfengine/components/terraform/main/main.tf +++ b/templates/tfengine/components/terraform/main/main.tf @@ -40,7 +40,7 @@ terraform { google-beta = ">= 3.0" {{end -}} {{if not $hasKubernetes -}} - kubernetes = "~> 1.0" + kubernetes = "~> 2.0" {{end -}} } {{- if get . "enable_gcs_backend" true}}