diff --git a/azurerm/internal/services/network/resource_arm_virtual_network_gateway_connection.go b/azurerm/internal/services/network/resource_arm_virtual_network_gateway_connection.go index c7dcb7d05870..3dda5ba8364f 100644 --- a/azurerm/internal/services/network/resource_arm_virtual_network_gateway_connection.go +++ b/azurerm/internal/services/network/resource_arm_virtual_network_gateway_connection.go @@ -108,9 +108,9 @@ func resourceArmVirtualNetworkGatewayConnection() *schema.Resource { }, "routing_weight": { - Type: schema.TypeInt, - Optional: true, - Computed: true, + Type: schema.TypeInt, + Optional: true, + Computed: true, ValidateFunc: validation.IntBetween(0, 32000), },