Skip to content

Commit

Permalink
ignore changes on public_network_access_enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
ishuar authored and lonegunmanb committed Dec 12, 2023
1 parent abc283c commit f07f9f7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,10 @@ resource "azurerm_kubernetes_cluster" "main" {
}

lifecycle {
ignore_changes = [kubernetes_version]
ignore_changes = [
kubernetes_version,
public_network_access_enabled,
]

precondition {
condition = (var.client_id != "" && var.client_secret != "") || (var.identity_type != "")
Expand Down

0 comments on commit f07f9f7

Please sign in to comment.