terraform-aws-modules/terraform-aws-eks

Make desired_size in scaling_config

frankgu968 opened this issue · 2 comments

I have issues

I'm submitting a...

  • bug report
  • [ X ] feature request
  • support request - read the FAQ first!
  • kudos, thank you, warm fuzzy

What is the current behavior?

Currently, the desired capacity is a Required parameter that is checked against the current size of a EKS Node Group. For autoscaled clusters, this becomes inconvenient during updates to the EKS cluster with Terraform because the desired_size will be forced to change.

If this is a bug, how to reproduce? Please include a code sample if relevant.

What's the expected behavior?

It would be great if the desired_size can be an optional parameter that is simply ignored during updates, and only enforced if it's present.

Are you able to fix this problem and submit a PR? Link here if you have already.

Environment details

  • Affected module version:
  • OS:
  • Terraform version:

Any other relevant info

Saw the FAQ link and read through that; changes to the desired count are ignored to prevent this exact issue.

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.