Skip to content

Commit

Permalink
Reduce complexity of node_pool test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jberlinsky committed Jan 2, 2019
1 parent 2cd5403 commit 95f39c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions examples/node_pool/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ module "gke" {
node_pools = [
{
name = "pool-01"
min_count = 4
min_count = 1
service_account = "${var.compute_engine_service_account}"
},
{
name = "pool-02"
machine_type = "n1-standard-2"
min_count = 2
max_count = 3
min_count = 1
max_count = 2
disk_size_gb = 30
disk_type = "pd-standard"
image_type = "COS"
Expand Down
6 changes: 3 additions & 3 deletions test/integration/node_pool/controls/gcloud.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
including(
"name" => "pool-01",
"autoscaling" => including(
"minNodeCount" => 4,
"minNodeCount" => 1,
),
)
)
Expand Down Expand Up @@ -173,7 +173,7 @@
including(
"name" => "pool-02",
"autoscaling" => including(
"minNodeCount" => 2,
"minNodeCount" => 1,
),
)
)
Expand All @@ -184,7 +184,7 @@
including(
"name" => "pool-02",
"autoscaling" => including(
"maxNodeCount" => 3,
"maxNodeCount" => 2,
),
)
)
Expand Down

0 comments on commit 95f39c2

Please sign in to comment.