Skip to content

Commit

Permalink
add lifecycle ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jun 6, 2022
1 parent a02c947 commit 0658c22
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/full-cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ resource "aws_eks_node_group" "eks-nodegroup" {
local.autoscale_tags,
)

lifecycle {
ignore_changes = [launch_template, scaling_config]
}

# 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 0658c22

Please sign in to comment.