Skip to content

Commit ab97505

Browse files
authored
Merge pull request GoogleCloudPlatform#4577 from kadupoornima/new
Revert gke-node-pool module to using google-beta provider
2 parents f896394 + 9071cb5 commit ab97505

3 files changed

Lines changed: 11 additions & 5 deletions

File tree

modules/compute/gke-node-pool/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,14 +279,16 @@ limitations under the License.
279279
| Name | Version |
280280
|------|---------|
281281
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5 |
282-
| <a name="requirement_google"></a> [google](#requirement\_google) | >= 6.41 |
282+
| <a name="requirement_google"></a> [google](#requirement\_google) | >= 6.46 |
283+
| <a name="requirement_google-beta"></a> [google-beta](#requirement\_google-beta) | >= 6.46 |
283284
| <a name="requirement_null"></a> [null](#requirement\_null) | ~> 3.0 |
284285

285286
## Providers
286287

287288
| Name | Version |
288289
|------|---------|
289-
| <a name="provider_google"></a> [google](#provider\_google) | >= 6.41 |
290+
| <a name="provider_google"></a> [google](#provider\_google) | >= 6.46 |
291+
| <a name="provider_google-beta"></a> [google-beta](#provider\_google-beta) | >= 6.46 |
290292
| <a name="provider_null"></a> [null](#provider\_null) | ~> 3.0 |
291293

292294
## Modules
@@ -300,7 +302,7 @@ limitations under the License.
300302

301303
| Name | Type |
302304
|------|------|
303-
| [google_container_node_pool.node_pool](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/container_node_pool) | resource |
305+
| [google-beta_google_container_node_pool.node_pool](https://registry.terraform.io/providers/hashicorp/google-beta/latest/docs/resources/google_container_node_pool) | resource |
304306
| [null_resource.enable_tcpx_in_workload](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |
305307
| [null_resource.enable_tcpxo_in_workload](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |
306308
| [null_resource.install_dependencies](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |

modules/compute/gke-node-pool/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ data "google_container_cluster" "gke_cluster" {
6868
}
6969

7070
resource "google_container_node_pool" "node_pool" {
71-
provider = google
71+
provider = google-beta
7272

7373
count = max(var.num_node_pools, var.num_slices)
7474

modules/compute/gke-node-pool/versions.tf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ terraform {
1818
required_providers {
1919
google = {
2020
source = "hashicorp/google"
21-
version = ">= 6.41"
21+
version = ">= 6.46"
22+
}
23+
google-beta = {
24+
source = "hashicorp/google-beta"
25+
version = ">= 6.46"
2226
}
2327
null = {
2428
source = "hashicorp/null"

0 commit comments

Comments
 (0)