add var 'worker_group_count' to replace 'length()' calls

This commit is contained in:
Andrew Lavery
2018-07-19 10:31:37 -07:00
parent 2814efcb8a
commit 5b1cf24931
3 changed files with 9 additions and 3 deletions

View File

@@ -74,6 +74,12 @@ variable "worker_groups" {
}]
}
variable "worker_group_count" {
description = "The number of maps contained within the worker_groups list."
type = "string"
default = "1"
}
variable "workers_group_defaults" {
description = "Default values for target groups as defined by the list of maps."
type = "map"