Skip to content

Commit e504301

Browse files
authored
Merge pull request #381 from bharathkkb/feature/provider-update
Provider update 3.3.0
2 parents ec9cfe4 + 17e3e29 commit e504301

File tree

60 files changed

+75
-60
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+75
-60
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Then perform the following commands on the root folder:
115115
|------|-------------|:----:|:-----:|:-----:|
116116
| basic\_auth\_password | The password to be used with Basic Authentication. | string | `""` | no |
117117
| basic\_auth\_username | The username to be used with Basic Authentication. An empty value will disable Basic Authentication, which is the recommended configuration. | string | `""` | no |
118-
| cluster\_ipv4\_cidr | The IP address range of the kubernetes pods in this cluster. Default is an automatically assigned CIDR. | string | `""` | no |
118+
| cluster\_ipv4\_cidr | The IP address range of the kubernetes pods in this cluster. Default is an automatically assigned CIDR. | string | `"null"` | no |
119119
| cluster\_resource\_labels | The GCE resource labels (a map of key/value pairs) to be applied to the cluster | map(string) | `<map>` | no |
120120
| configure\_ip\_masq | Enables the installation of ip masquerading, which is usually no longer required when using aliasied IP addresses. IP masquerading uses a kubectl call, so when you have a private cluster, you will need access to the API server. | string | `"false"` | no |
121121
| create\_service\_account | Defines if service account specified to run nodes should be created. | bool | `"true"` | no |

autogen/main.tf.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ locals {
137137
cluster_master_auth_map = local.cluster_master_auth_list_layer2[0]
138138

139139
cluster_location = google_container_cluster.primary.location
140-
cluster_region = var.regional ? google_container_cluster.primary.region : join("-", slice(split("-", local.cluster_location), 0, 2))
140+
cluster_region = var.regional ? var.region : join("-", slice(split("-", local.cluster_location), 0, 2))
141141
cluster_zones = sort(local.cluster_output_zones)
142142

143143
cluster_name = local.cluster_output_name

autogen/variables.tf.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ variable "issue_client_certificate" {
318318
}
319319

320320
variable "cluster_ipv4_cidr" {
321-
default = ""
321+
default = null
322322
description = "The IP address range of the kubernetes pods in this cluster. Default is an automatically assigned CIDR."
323323
}
324324

autogen/versions.tf.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ terraform {
1919

2020
required_providers {
2121
{% if beta_cluster %}
22-
google-beta = "~> 2.18"
22+
google-beta = ">= 2.18, <4.0.0"
2323
{% else %}
24-
google = "~> 2.18"
24+
google = ">= 2.18, <4.0.0"
2525
{% endif %}
2626
}
2727
}

examples/deploy_service/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ locals {
1919
}
2020

2121
provider "google" {
22-
version = "~> 2.18.0"
22+
version = "~> 3.3.0"
2323
region = var.region
2424
}
2525

examples/disable_client_cert/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ locals {
1919
}
2020

2121
provider "google" {
22-
version = "~> 2.18.0"
22+
version = "~> 3.3.0"
2323
region = var.region
2424
}
2525

examples/node_pool/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ locals {
1919
}
2020

2121
provider "google-beta" {
22-
version = "~> 2.18.0"
22+
version = "~> 3.3.0"
2323
region = var.region
2424
}
2525

examples/node_pool_update_variant/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ locals {
1919
}
2020

2121
provider "google" {
22-
version = "~> 2.18.0"
22+
version = "~> 3.3.0"
2323
region = var.region
2424
}
2525

examples/node_pool_update_variant_beta/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ locals {
1919
}
2020

2121
provider "google-beta" {
22-
version = "~> 2.18.0"
22+
version = "~> 3.3.0"
2323
credentials = file(var.credentials_path)
2424
region = var.region
2525
}

examples/private_zonal_with_networking/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
module "gcp-network" {
1818
source = "terraform-google-modules/network/google"
19-
version = "~> 1.4.0"
19+
version = "~> 2.0"
2020
project_id = var.project_id
2121
network_name = var.network
2222

0 commit comments

Comments
 (0)