Azure/terraform-azurerm-lz-vending

bug: RESPONSE 400: 400 Bad Request │ ERROR CODE: RemoteVnetHasNoGateways

Raphael-kainos opened this issue · 2 comments

Hi guys Im currently trying to deploy the LZ-vending module but getting the error seen below in the screenshot even though we have not deploying any Vnet gateways, can you kindly advise.

Versions

Azurerm = 3.60.0
Azure/LZ-Vending = 3.4.1
Terraform Version = 1.5.0

Screenshot 2023-09-01 at 13 13 29 Screenshot 2023-09-01 at 13 14 57

Hey @Raphael-kainos,

Please set the variable property of hub_peering_use_remote_gateways in the vnet1 block to false and this will create the peering without the use remote gateways flag, which is enabled by default.

https://github.com/Azure/terraform-azurerm-lz-vending#hub-network-peering-values

Thanks

Thanks Jack tried that it worked !!