From 22736f50e0ff0edbab3cb6300087f5813fa209ee Mon Sep 17 00:00:00 2001 From: Imran Nayer Date: Mon, 2 Oct 2023 11:49:11 -0500 Subject: [PATCH] fix: restrict provider version to "<5.0" for modules missing max version (#501) --- modules/private-service-connect/versions.tf | 4 ++-- modules/routes-beta/versions.tf | 2 +- modules/vpc-serverless-connector-beta/versions.tf | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/private-service-connect/versions.tf b/modules/private-service-connect/versions.tf index 061098cb..48bd3653 100644 --- a/modules/private-service-connect/versions.tf +++ b/modules/private-service-connect/versions.tf @@ -19,11 +19,11 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 3.50" + version = ">= 3.50, < 5.0" } google-beta = { source = "hashicorp/google-beta" - version = ">= 3.50" + version = ">= 3.50, < 5.0" } } diff --git a/modules/routes-beta/versions.tf b/modules/routes-beta/versions.tf index c8a94ea4..161a5c1c 100644 --- a/modules/routes-beta/versions.tf +++ b/modules/routes-beta/versions.tf @@ -20,7 +20,7 @@ terraform { required_providers { google-beta = { source = "hashicorp/google-beta" - version = ">= 3.0" + version = ">= 3.0, < 5.0" } } diff --git a/modules/vpc-serverless-connector-beta/versions.tf b/modules/vpc-serverless-connector-beta/versions.tf index e5fc263e..cd887574 100644 --- a/modules/vpc-serverless-connector-beta/versions.tf +++ b/modules/vpc-serverless-connector-beta/versions.tf @@ -19,7 +19,7 @@ terraform { required_providers { google-beta = { source = "hashicorp/google-beta" - version = ">= 3.62" + version = ">= 3.62, < 5.0" } }