From 2c1e98e7e329909b6e5fae842a7bfd0b62e7a9d2 Mon Sep 17 00:00:00 2001 From: Grant Sorbo Date: Fri, 20 Sep 2024 21:07:16 +0000 Subject: [PATCH] fix: adjust provider version constraint --- examples/gh-runner-gke-dind-rootless/versions.tf | 8 ++++++-- examples/gh-runner-gke-dind/versions.tf | 8 ++++++-- examples/gh-runner-gke-simple/versions.tf | 8 ++++++-- modules/gh-runner-gke/versions.tf | 4 ++-- 4 files changed, 20 insertions(+), 8 deletions(-) diff --git a/examples/gh-runner-gke-dind-rootless/versions.tf b/examples/gh-runner-gke-dind-rootless/versions.tf index 52f9cc4..d23f650 100644 --- a/examples/gh-runner-gke-dind-rootless/versions.tf +++ b/examples/gh-runner-gke-dind-rootless/versions.tf @@ -16,11 +16,15 @@ terraform { required_providers { + # TODO: undo version constraint pending provider bug + # https://github.com/GoogleCloudPlatform/magic-modules/pull/11688 google = { - source = "hashicorp/google" + source = "hashicorp/google" + version = ">= 4.3.0, < 6.2" } google-beta = { - source = "hashicorp/google-beta" + source = "hashicorp/google-beta" + version = ">= 4.3.0, < 6.2" } kubernetes = { source = "hashicorp/kubernetes" diff --git a/examples/gh-runner-gke-dind/versions.tf b/examples/gh-runner-gke-dind/versions.tf index 52f9cc4..d23f650 100644 --- a/examples/gh-runner-gke-dind/versions.tf +++ b/examples/gh-runner-gke-dind/versions.tf @@ -16,11 +16,15 @@ terraform { required_providers { + # TODO: undo version constraint pending provider bug + # https://github.com/GoogleCloudPlatform/magic-modules/pull/11688 google = { - source = "hashicorp/google" + source = "hashicorp/google" + version = ">= 4.3.0, < 6.2" } google-beta = { - source = "hashicorp/google-beta" + source = "hashicorp/google-beta" + version = ">= 4.3.0, < 6.2" } kubernetes = { source = "hashicorp/kubernetes" diff --git a/examples/gh-runner-gke-simple/versions.tf b/examples/gh-runner-gke-simple/versions.tf index 52f9cc4..d23f650 100644 --- a/examples/gh-runner-gke-simple/versions.tf +++ b/examples/gh-runner-gke-simple/versions.tf @@ -16,11 +16,15 @@ terraform { required_providers { + # TODO: undo version constraint pending provider bug + # https://github.com/GoogleCloudPlatform/magic-modules/pull/11688 google = { - source = "hashicorp/google" + source = "hashicorp/google" + version = ">= 4.3.0, < 6.2" } google-beta = { - source = "hashicorp/google-beta" + source = "hashicorp/google-beta" + version = ">= 4.3.0, < 6.2" } kubernetes = { source = "hashicorp/kubernetes" diff --git a/modules/gh-runner-gke/versions.tf b/modules/gh-runner-gke/versions.tf index 27f5cc6..20c3e8c 100644 --- a/modules/gh-runner-gke/versions.tf +++ b/modules/gh-runner-gke/versions.tf @@ -20,12 +20,12 @@ terraform { google = { source = "hashicorp/google" - version = ">= 4.3.0, < 5.44" + version = ">= 4.3.0, < 7" } google-beta = { source = "hashicorp/google-beta" - version = ">= 4.3.0, < 5.44" + version = ">= 4.3.0, < 7" } kubernetes = {