Skip to content

Commit

Permalink
azurerm_spring_cloud_gateway_route_config - fix failed testcases (h…
Browse files Browse the repository at this point in the history
  • Loading branch information
ms-henglu authored Aug 26, 2024
1 parent 9fdfaf6 commit 99b4df8
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand All @@ -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)
}
Expand Down Expand Up @@ -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"]
Expand Down

0 comments on commit 99b4df8

Please sign in to comment.