Skip to content

Commit

Permalink
adding lifecycle ignore to eks node group (#1905)
Browse files Browse the repository at this point in the history
Co-authored-by: Scott Blair <sblair@metrostar.com>
  • Loading branch information
sblair-metrostar and sblair-metrostar authored Aug 23, 2023
1 parent 9e92a30 commit 1a0e9d2
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ resource "aws_eks_node_group" "main" {
max_size = var.node_groups[count.index].max_size
}

lifecycle {
ignore_changes = [
scaling_config[0].desired_size,
]
}

# Ensure that IAM Role permissions are created before and deleted
# after EKS Node Group handling. Otherwise, EKS will not be able to
# properly delete EC2 Instances and Elastic Network Interfaces.
Expand Down

0 comments on commit 1a0e9d2

Please sign in to comment.