Ignore changes to desired_size of node_groups (#691)

* Ignore changes to desired_size of node_groups

Resolves #681

* Update CHANGELOG.md
This commit is contained in:
David Alger
2020-01-17 07:13:07 -06:00
committed by Max Williams
parent 0ee36d0aee
commit b3a90aac80
2 changed files with 2 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ project adheres to [Semantic Versioning](http://semver.org/).
- Write your awesome change here (by @you) - Write your awesome change here (by @you)
- Fix index reference on destroy for output `oidc_provider_arn` (@stevie-) - Fix index reference on destroy for output `oidc_provider_arn` (@stevie-)
- Add support for restricting access to the public API endpoint (@sidprak) - Add support for restricting access to the public API endpoint (@sidprak)
- Add an `ignore_lifecycle` rule to prevent Terraform from scaling down ASG behind AWS EKS Managed Node Group (by @davidalger)
# History # History

View File

@@ -45,5 +45,6 @@ resource "aws_eks_node_group" "workers" {
lifecycle { lifecycle {
create_before_destroy = true create_before_destroy = true
ignore_changes = [scaling_config.0.desired_size]
} }
} }