Skip to content

Commit

Permalink
Add lifecycle for bootstrap_self_managed_addons to prevent replacemen…
Browse files Browse the repository at this point in the history
…t of EKS
  • Loading branch information
vradicevicds committed Jan 29, 2025
1 parent 334d1a8 commit c936f3a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/eks/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ resource "aws_eks_cluster" "eks" {
delete = var.cluster_timeouts["delete"]
}

lifecycle {
ignore_changes = [
bootstrap_self_managed_addons,
]
}

depends_on = [
aws_iam_role_policy_attachment.cluster_role,
aws_cloudwatch_log_group.log_group
Expand Down

0 comments on commit c936f3a

Please sign in to comment.