feat: Add support for desired_capacity_type (named desired_size_type) on self-managed node group (#3166)

* set desired_capacity_type

* fix: Add variable with `null` type and pass through node group

---------

Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
This commit is contained in:
dtscssap
2024-10-12 12:57:19 -04:00
committed by GitHub
parent 159db95b6d
commit 6974a5e158
4 changed files with 9 additions and 0 deletions

View File

@@ -420,6 +420,12 @@ variable "desired_size" {
default = 1
}
variable "desired_size_type" {
description = "The unit of measurement for the value specified for `desired_size`. Supported for attribute-based instance type selection only. Valid values: `units`, `vcpu`, `memory-mib`"
type = string
default = null
}
variable "ignore_failed_scaling_activities" {
description = "Whether to ignore failed Auto Scaling scaling activities while waiting for capacity."
type = bool