feat: Ignore changes to labels and annotations on on aws-auth ConfigMap (#2380)

Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
Fixes https://github.com/terraform-aws-modules/terraform-aws-eks/issues/2379
This commit is contained in:
Matt Parkes authored and GitHub committed 2023-01-05 12:32:23 -05:00
1 parent 0868d0583f
commit 5015b429e6
1 file changed
+1 -1
+1 -1
View File
@@ -520,7 +520,7 @@ resource "kubernetes_config_map" "aws_auth" {
lifecycle {
# We are ignoring the data here since we will manage it with the resource below
# This is only intended to be used in scenarios where the configmap does not exist
ignore_changes = [data]
ignore_changes = [data, metadata[0].labels, metadata[0].annotations]
}
}