fix example

This commit is contained in:
github-actions[bot] 2024-10-05 09:42:43 +00:00
parent 30e5ac224b
commit 5e5d975f67
2 changed files with 12 additions and 1 deletions

View File

@ -3,7 +3,7 @@ resource "random_string" "fw_diag_prefix" {
length = 8
upper = false
special = false
number = false
numeric = false
}
resource "azurerm_ip_group" "ip_group_hub" {
name = "hub-ipgroup"
@ -107,6 +107,11 @@ resource "azurerm_monitor_diagnostic_setting" "azure_firewall_instance" {
}
}
lifecycle {
ignore_changes = [
log
]
}
}
resource "azurerm_firewall_policy_rule_collection_group" "azure_firewall_rules_collection" {

View File

@ -49,9 +49,15 @@ resource "azurerm_windows_virtual_machine" "dsvm" {
admin_password = local.dsvm_host_password
provision_vm_agent = true
vm_agent_platform_updates_enabled = false
timeouts {
create = "60m"
delete = "2h"
}
lifecycle {
ignore_changes = [
vm_agent_platform_updates_enabled,
]
}
}