Closed bryantbiggs closed 2 years ago
This PR has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this PR will be closed in 10 days
Shhhh
@bryantbiggs Ops, I see that this one should have been merged around the same time as #179 . Could you finish this one and release version 5.1 right away?
ok should be all set @antonbabenko - I updated the upgrade document to include both this change and the tags change (even though this change will go out as v5.1.0)
This PR is included in version 5.1.0 :tada:
I'm going to lock this pull request 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 related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Description
idc
(ignore desired changes) as well as a new variableignore_desired_capacity_changes
to allow users to opt into an autoscaling group that will ignoredesired_capacity
lt_xxx
abbreviation tolaunch_template_xxx
Motivation and Context
desired_capacity
but unfortunately it cannot be parameterized. With the removal of launch configurations, it seems reasonable enough to add in this additional bit of logic in order to accommodate both optionsself_managed_node_group
sub-module to remove the launch template and autoscaling group configurations and replace with this module. This is now possible due to the addition ofignore_changes = [desired_capacity]
eks_managed_node_group
sub-module to remove the launch template configuration and replace with this module. In hindsight, there is no need to duplicate the custom launch template configuration there while this module provides the means to create a standalone launch template without an autoscaling groupWith these two changes, we are then able to offload even more complexity and logic from the core EKS module and centralize the changes in the appropriate modules (i.e. - if a new feature is added to launch templates then we can update this module and propagate to the EKS module)
Breaking Changes
desired_capacity
changes to allow users to utilize autoscaling without reverting or showing up in Terraform plans/applies.How Has This Been Tested?
examples/*
projects