Skip to content

Commit

Permalink
Merge pull request #60 from WickramBug/update-rt
Browse files Browse the repository at this point in the history
[main] Update Route Table module
  • Loading branch information
SazniMohamed authored Apr 16, 2024
2 parents 8746229 + efe2a1b commit 2f389fe
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions modules/azurerm/Route-Table/route_table.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ resource "azurerm_route_table" "route_table" {
next_hop_type = "VirtualAppliance"
next_hop_in_ip_address = var.next_hop_in_ip_address
}

# handle manual route configurations
lifecycle {
ignore_changes = [
route
]
}
}

resource "azurerm_subnet_route_table_association" "subnet_rt_association" {
Expand Down

0 comments on commit 2f389fe

Please sign in to comment.