Skip to content

Commit

Permalink
fix: Ignore changes to bootstrap_cluster_creator_admin_permissions
Browse files Browse the repository at this point in the history
…which is disabled by default (#3042)

* Ignore changes to bootstrap_cluster_creator_admin_permissions to allow upgrading module and importing existing clusters

* Update main.tf

Co-authored-by: Igor Brites <[email protected]>

* fix attribute reffernce

---------

Co-authored-by: Igor Brites <[email protected]>
  • Loading branch information
wevanscfi and igorbrites committed May 21, 2024
1 parent 15a3248 commit c65d308
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,12 @@ resource "aws_eks_cluster" "this" {
aws_cloudwatch_log_group.this,
aws_iam_policy.cni_ipv6_policy,
]

lifecycle {
ignore_changes = [
access_config["bootstrap_cluster_creator_admin_permissions"]
]
}
}

resource "aws_ec2_tag" "cluster_primary_security_group" {
Expand Down

0 comments on commit c65d308

Please sign in to comment.