Skip to content

Commit

Permalink
feat: Ignore changes to labels and annotations on on aws-auth Confi…
Browse files Browse the repository at this point in the history
…gMap (#2380)

Co-authored-by: Bryant Biggs <[email protected]>
Fixes #2379
  • Loading branch information
mattparkes authored Jan 5, 2023
1 parent 0868d05 commit 5015b42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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]
}
}

Expand Down

0 comments on commit 5015b42

Please sign in to comment.