mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-01-18 17:47:31 +01:00
feat: Add the SPOT support for Managed Node Groups (#1129)
BREAKING CHANGES: To add add SPOT support for MNG, the `instance_type` is now a list and renamed as `instance_types`. This will probably rebuild existing Managed Node Groups.
This commit is contained in:
@@ -100,7 +100,8 @@ module "eks" {
|
||||
max_capacity = 10
|
||||
min_capacity = 1
|
||||
|
||||
instance_type = "m5.large"
|
||||
instance_types = ["m5.large"]
|
||||
capacity_type = "SPOT"
|
||||
k8s_labels = {
|
||||
Environment = "test"
|
||||
GithubRepo = "terraform-aws-eks"
|
||||
|
||||
Reference in New Issue
Block a user