jenkins-x/terraform-aws-eks-jx

Rename the input value allowed_spot_instance_types to allowed_instance_types

Opened this issue · 3 comments

Summary

the value for allowed_spot_instance_types is used for regular instance types and really has nothing to do with spot instances. Should be renamed to allowed_instance_types

Also, in the documentation:



allowed_spot_instance_types | Allowed machine types for spot instances (must be same size) | any
-- | -- | --

But in the code at

override_instance_types = var.allowed_spot_instance_types
:

It is also used for regular instance types, not only spot?

It should not be I think, if it is, it could be a bug in the eks module we use.