mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-01-11 22:41:43 +01:00
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:
2
main.tf
2
main.tf
@@ -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]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user