From 99b4df813da8023e69481bebc5bc84c2dc3e8dda Mon Sep 17 00:00:00 2001 From: Heng Lu <79895375+ms-henglu@users.noreply.github.com> Date: Mon, 26 Aug 2024 13:58:46 +0800 Subject: [PATCH] `azurerm_spring_cloud_gateway_route_config` - fix failed testcases (#27163) --- .../spring_cloud_gateway_route_config_resource_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/services/springcloud/spring_cloud_gateway_route_config_resource_test.go b/internal/services/springcloud/spring_cloud_gateway_route_config_resource_test.go index 9e36a47e88a5..267caabccd7a 100644 --- a/internal/services/springcloud/spring_cloud_gateway_route_config_resource_test.go +++ b/internal/services/springcloud/spring_cloud_gateway_route_config_resource_test.go @@ -163,6 +163,7 @@ resource "azurerm_spring_cloud_gateway_route_config" "test" { name = "acctest-agrc-%d" spring_cloud_gateway_id = azurerm_spring_cloud_gateway.test.id spring_cloud_app_id = azurerm_spring_cloud_app.test.id + protocol = "HTTPS" } `, template, data.RandomInteger) } @@ -176,6 +177,7 @@ resource "azurerm_spring_cloud_gateway_route_config" "import" { name = azurerm_spring_cloud_gateway_route_config.test.name spring_cloud_gateway_id = azurerm_spring_cloud_gateway_route_config.test.spring_cloud_gateway_id spring_cloud_app_id = azurerm_spring_cloud_gateway_route_config.test.spring_cloud_app_id + protocol = "HTTPS" } `, config) } @@ -220,6 +222,7 @@ resource "azurerm_spring_cloud_gateway_route_config" "test" { name = "acctest-agrc-%d" spring_cloud_gateway_id = azurerm_spring_cloud_gateway.test.id spring_cloud_app_id = azurerm_spring_cloud_app.test.id + protocol = "HTTPS" route { description = "first route" filters = ["StripPrefix=2", "RateLimit=1,1s"]