Skip to content

Commit

Permalink
🐞add initial_size to address TF error
Browse files Browse the repository at this point in the history
```
│ Error: An initial_size or autoscaling_policy must be configured on node group creation.
│
│   with google_compute_node_group.nodes,
│   on resources.tf line 186, in resource "google_compute_node_group" "nodes":
│  186: resource "google_compute_node_group" "nodes"
```
aramprice committed Oct 6, 2023

Verified

This commit was signed with the committer’s verified signature.
bonjourmauko Mauko Quiroga-Alvarado
1 parent 7f5ca1d commit 6e6d738
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ci/test_infrastructure/resources.tf
Original file line number Diff line number Diff line change
@@ -184,7 +184,8 @@ resource "google_compute_node_template" "soletenant-tmpl" {
}

resource "google_compute_node_group" "nodes" {
name = "${var.prefix}-node-group"
zone = var.google_zone
name = "${var.prefix}-node-group"
zone = var.google_zone
initial_size = 1
node_template = google_compute_node_template.soletenant-tmpl.id
}

0 comments on commit 6e6d738

Please sign in to comment.