Skip to content

Commit 9ea4516

Browse files
committed
Reduce complexity of node_pool test
1 parent 0c06db8 commit 9ea4516

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

examples/node_pool/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ module "gke" {
3838
node_pools = [
3939
{
4040
name = "pool-01"
41-
min_count = 4
41+
min_count = 1
4242
service_account = "${var.compute_engine_service_account}"
4343
},
4444
{
4545
name = "pool-02"
4646
machine_type = "n1-standard-2"
47-
min_count = 2
48-
max_count = 3
47+
min_count = 1
48+
max_count = 2
4949
disk_size_gb = 30
5050
disk_type = "pd-standard"
5151
image_type = "COS"

test/integration/node_pool/controls/gcloud.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
including(
7777
"name" => "pool-01",
7878
"autoscaling" => including(
79-
"minNodeCount" => 4,
79+
"minNodeCount" => 1,
8080
),
8181
)
8282
)
@@ -173,7 +173,7 @@
173173
including(
174174
"name" => "pool-02",
175175
"autoscaling" => including(
176-
"minNodeCount" => 2,
176+
"minNodeCount" => 1,
177177
),
178178
)
179179
)
@@ -184,7 +184,7 @@
184184
including(
185185
"name" => "pool-02",
186186
"autoscaling" => including(
187-
"maxNodeCount" => 3,
187+
"maxNodeCount" => 2,
188188
),
189189
)
190190
)

0 commit comments

Comments
 (0)