Skip to content

Commit 9a75d88

Browse files
authored
Merge pull request #2 from data-platform-hq/update-param
fix: fix condition
2 parents de04422 + 2e7b89d commit 9a75d88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ resource "azurerm_linux_web_app" "this" {
4747
}
4848

4949
resource "azurerm_app_service_virtual_network_swift_connection" "this" {
50-
count = var.use_private_net == null ? 0 : 1
50+
count = var.use_private_net ? 1 : 0
5151
app_service_id = azurerm_linux_web_app.this.id
5252
subnet_id = var.subnet_id
5353
}

0 commit comments

Comments
 (0)