From bfb30914a6479f1db943f0385f239d43f0b08286 Mon Sep 17 00:00:00 2001 From: Dennis Ploeger Date: Wed, 9 Jun 2021 09:45:25 +0200 Subject: [PATCH] fix: Added dependency on gateway --- connections.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/connections.tf b/connections.tf index 86e8ba4..6741b95 100644 --- a/connections.tf +++ b/connections.tf @@ -54,4 +54,6 @@ resource "azurerm_virtual_network_peering" "peeringvpnrev" { allow_forwarded_traffic = true allow_virtual_network_access = true use_remote_gateways = true + + depends_on = [azurerm_virtual_network_gateway.vnetgw] }