This repository was archived by the owner on Oct 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ limitations under the License.
1919// Provides access to available Google Container Engine versions in a zone for a given project.
2020// https://www.terraform.io/docs/providers/google/d/google_container_engine_versions.html
2121data "google_container_engine_versions" "on-prem" {
22- zone = var. zone
23- project = var. project
22+ location = var. zone
23+ project = var. project
2424}
2525
2626# Syntax for using a custom module, which is a collection of resources
Original file line number Diff line number Diff line change @@ -14,24 +14,26 @@ See the License for the specific language governing permissions and
1414limitations under the License.
1515*/
1616
17+ // Configure providers and pin versions
18+ terraform {
19+ required_providers {
20+ random = {
21+ source = " hashicorp/random"
22+ version = " ~> 2.1.2"
23+ }
24+ template = {
25+ source = " hashicorp/template"
26+ version = " ~> 2.1.2"
27+ }
28+ null = {
29+ source = " hashicorp/null"
30+ version = " ~> 2.1.2"
31+ }
32+ }
33+ }
34+
1735// Configures the default project and zone for underlying Google Cloud API calls
1836provider "google" {
1937 project = var. project
2038 zone = var. zone
21- version = " ~> 2.11.0"
22- }
23-
24- // Pins the version of the "random" provider
25- provider "random" {
26- version = " ~> 2.1.2"
27- }
28-
29- // Pins the version of the "template" provider
30- provider "template" {
31- version = " ~> 2.1.2"
32- }
33-
34- // Pins the version of the "null" provider
35- provider "null" {
36- version = " ~> 2.1.2"
3739}
You can’t perform that action at this time.
0 commit comments