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:
Jonathan Cole
2021-01-28 14:08:29 -08:00
committed by GitHub
parent 76537d1b8d
commit 8978997bb1
5 changed files with 11 additions and 5 deletions

View File

@@ -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"