From b2640ffca2cb2bca2b0d80a9ea7f4fd60cf78bc9 Mon Sep 17 00:00:00 2001 From: Andrew Peabody Date: Thu, 19 Oct 2023 09:51:24 -0700 Subject: [PATCH] chore: relax examples tpg constraint (#126) --- examples/gh-runner-gke-dind/versions.tf | 6 ++---- examples/gh-runner-gke-simple/versions.tf | 6 ++---- .../gh-runner-mig-container-vm-dind/versions.tf | 6 ++---- .../versions.tf | 6 ++---- .../{providers.tf => versions.tf} | 17 ++++++++++------- .../gh-runner-mig-native-simple/versions.tf | 6 ++---- examples/oidc-simple/versions.tf | 6 ++---- 7 files changed, 22 insertions(+), 31 deletions(-) rename examples/gh-runner-mig-native-packer/{providers.tf => versions.tf} (75%) diff --git a/examples/gh-runner-gke-dind/versions.tf b/examples/gh-runner-gke-dind/versions.tf index fceb4b2..52f9cc4 100644 --- a/examples/gh-runner-gke-dind/versions.tf +++ b/examples/gh-runner-gke-dind/versions.tf @@ -17,12 +17,10 @@ terraform { required_providers { google = { - source = "hashicorp/google" - version = "~> 4.0" + source = "hashicorp/google" } google-beta = { - source = "hashicorp/google-beta" - version = "~> 4.0" + source = "hashicorp/google-beta" } kubernetes = { source = "hashicorp/kubernetes" diff --git a/examples/gh-runner-gke-simple/versions.tf b/examples/gh-runner-gke-simple/versions.tf index fceb4b2..52f9cc4 100644 --- a/examples/gh-runner-gke-simple/versions.tf +++ b/examples/gh-runner-gke-simple/versions.tf @@ -17,12 +17,10 @@ terraform { required_providers { google = { - source = "hashicorp/google" - version = "~> 4.0" + source = "hashicorp/google" } google-beta = { - source = "hashicorp/google-beta" - version = "~> 4.0" + source = "hashicorp/google-beta" } kubernetes = { source = "hashicorp/kubernetes" diff --git a/examples/gh-runner-mig-container-vm-dind/versions.tf b/examples/gh-runner-mig-container-vm-dind/versions.tf index c7fc4a6..e05f909 100644 --- a/examples/gh-runner-mig-container-vm-dind/versions.tf +++ b/examples/gh-runner-mig-container-vm-dind/versions.tf @@ -17,12 +17,10 @@ terraform { required_providers { google = { - source = "hashicorp/google" - version = "~> 4.0" + source = "hashicorp/google" } google-beta = { - source = "hashicorp/google-beta" - version = "~> 4.0" + source = "hashicorp/google-beta" } } required_version = ">= 0.13" diff --git a/examples/gh-runner-mig-container-vm-simple/versions.tf b/examples/gh-runner-mig-container-vm-simple/versions.tf index c7fc4a6..e05f909 100644 --- a/examples/gh-runner-mig-container-vm-simple/versions.tf +++ b/examples/gh-runner-mig-container-vm-simple/versions.tf @@ -17,12 +17,10 @@ terraform { required_providers { google = { - source = "hashicorp/google" - version = "~> 4.0" + source = "hashicorp/google" } google-beta = { - source = "hashicorp/google-beta" - version = "~> 4.0" + source = "hashicorp/google-beta" } } required_version = ">= 0.13" diff --git a/examples/gh-runner-mig-native-packer/providers.tf b/examples/gh-runner-mig-native-packer/versions.tf similarity index 75% rename from examples/gh-runner-mig-native-packer/providers.tf rename to examples/gh-runner-mig-native-packer/versions.tf index 92d45d9..a0559da 100644 --- a/examples/gh-runner-mig-native-packer/providers.tf +++ b/examples/gh-runner-mig-native-packer/versions.tf @@ -14,11 +14,14 @@ * limitations under the License. */ - -provider "google" { - version = "~> 4.0" -} - -provider "google-beta" { - version = "~> 4.0" +terraform { + required_providers { + google = { + source = "hashicorp/google" + } + google-beta = { + source = "hashicorp/google-beta" + } + } + required_version = ">= 0.13" } diff --git a/examples/gh-runner-mig-native-simple/versions.tf b/examples/gh-runner-mig-native-simple/versions.tf index c7fc4a6..e05f909 100644 --- a/examples/gh-runner-mig-native-simple/versions.tf +++ b/examples/gh-runner-mig-native-simple/versions.tf @@ -17,12 +17,10 @@ terraform { required_providers { google = { - source = "hashicorp/google" - version = "~> 4.0" + source = "hashicorp/google" } google-beta = { - source = "hashicorp/google-beta" - version = "~> 4.0" + source = "hashicorp/google-beta" } } required_version = ">= 0.13" diff --git a/examples/oidc-simple/versions.tf b/examples/oidc-simple/versions.tf index c7fc4a6..e05f909 100644 --- a/examples/oidc-simple/versions.tf +++ b/examples/oidc-simple/versions.tf @@ -17,12 +17,10 @@ terraform { required_providers { google = { - source = "hashicorp/google" - version = "~> 4.0" + source = "hashicorp/google" } google-beta = { - source = "hashicorp/google-beta" - version = "~> 4.0" + source = "hashicorp/google-beta" } } required_version = ">= 0.13"