Skip to content

Commit c65d308

Browse files
fix: Ignore changes to bootstrap_cluster_creator_admin_permissions 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]>
1 parent 15a3248 commit c65d308

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

main.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,12 @@ resource "aws_eks_cluster" "this" {
102102
aws_cloudwatch_log_group.this,
103103
aws_iam_policy.cni_ipv6_policy,
104104
]
105+
106+
lifecycle {
107+
ignore_changes = [
108+
access_config["bootstrap_cluster_creator_admin_permissions"]
109+
]
110+
}
105111
}
106112

107113
resource "aws_ec2_tag" "cluster_primary_security_group" {

0 commit comments

Comments
 (0)