Skip to content

Commit

Permalink
Add moved block to handle firewall public IP count migration (microso…
Browse files Browse the repository at this point in the history
…ft#4357)

Adds moved block to handle resource address change when adding count to
the firewall's public IP resource, preventing unwanted recreation of the
IP address
  • Loading branch information
yuvalyaron authored Feb 11, 2025
1 parent a6d85e2 commit 0715eca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/shared_services/firewall/porter.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
schemaVersion: 1.0.0
name: tre-shared-service-firewall
version: 1.3.1
version: 1.3.2
description: "An Azure TRE Firewall shared service"
dockerfile: Dockerfile.tmpl
registry: azuretre
Expand Down
2 changes: 1 addition & 1 deletion templates/shared_services/firewall/terraform/firewall.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ resource "azurerm_public_ip" "fwtransit" {
}

moved {
from = azurerm_public_ip.fwpip
from = azurerm_public_ip.fwtransit
to = azurerm_public_ip.fwtransit[0]
}

Expand Down

0 comments on commit 0715eca

Please sign in to comment.