Skip to content

Commit

Permalink
Merge pull request #16 from miljodir/ignore-changes
Browse files Browse the repository at this point in the history
ignore changes to tags & ttl on dns records
  • Loading branch information
Pidgegeddon authored Jan 28, 2025
2 parents e639a90 + bba7b45 commit 0e03aeb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -140,4 +140,11 @@ resource "azurerm_private_dns_a_record" "pe_dns" {
ttl = 3600
zone_name = replace("privatelink.${each.key}.core.windows.net", "_secondary", "") #removes _secondary from zone name because private endpoint for eg. blob and blob_secondary is privatelink.blob.core.windows.net
provider = azurerm.p-dns

lifecycle {
ignore_changes = [
ttl,
tags,
]
}
}

0 comments on commit 0e03aeb

Please sign in to comment.