Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Consumption_0 to speed up tests for API Management #12356

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ resource "azurerm_api_management" "test" {
resource_group_name = azurerm_resource_group.test.name
publisher_name = "pub1"
publisher_email = "[email protected]"
sku_name = "Developer_1"
sku_name = "Consumption_0"
}

resource "azurerm_api_management_logger" "test" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ resource "azurerm_api_management" "test" {
resource_group_name = azurerm_resource_group.test.name
publisher_name = "pub1"
publisher_email = "[email protected]"
sku_name = "Developer_1"
sku_name = "Consumption_0"
}

resource "azurerm_api_management_api" "test" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ resource "azurerm_api_management" "test" {
resource_group_name = azurerm_resource_group.test.name
publisher_name = "pub1"
publisher_email = "[email protected]"
sku_name = "Developer_1"
sku_name = "Consumption_0"
}

resource "azurerm_api_management_api" "test" {
Expand Down Expand Up @@ -184,7 +184,7 @@ resource "azurerm_api_management" "test" {
resource_group_name = azurerm_resource_group.test.name
publisher_name = "pub1"
publisher_email = "[email protected]"
sku_name = "Developer_1"
sku_name = "Consumption_0"
}

resource "azurerm_api_management_api" "test" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ resource "azurerm_api_management" "test" {
publisher_name = "pub1"
publisher_email = "[email protected]"

sku_name = "Developer_1"
sku_name = "Consumption_0"
}
`, data.RandomInteger, data.Locations.Primary, data.RandomInteger)
}
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ resource "azurerm_api_management" "test" {
resource_group_name = azurerm_resource_group.test.name
publisher_name = "pub1"
publisher_email = "[email protected]"
sku_name = "Developer_1"
sku_name = "Consumption_0"
}

resource "azurerm_api_management_api" "test" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ resource "azurerm_api_management" "test" {
resource_group_name = azurerm_resource_group.test.name
publisher_name = "pub1"
publisher_email = "[email protected]"
sku_name = "Developer_1"
sku_name = "Consumption_0"
}
`, data.RandomInteger, data.Locations.Primary, data.RandomInteger)
}
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ resource "azurerm_api_management" "test" {
resource_group_name = azurerm_resource_group.test.name
publisher_name = "pub1"
publisher_email = "[email protected]"
sku_name = "Developer_1"
sku_name = "Consumption_0"
}
`, data.RandomInteger, data.Locations.Primary, data.RandomInteger)
}
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ resource "azurerm_api_management" "test" {
resource_group_name = azurerm_resource_group.test.name
publisher_name = "pub1"
publisher_email = "[email protected]"
sku_name = "Developer_1"
sku_name = "Consumption_0"
}
`, data.RandomInteger, testName, data.Locations.Primary, data.RandomInteger, testName)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ resource "azurerm_api_management" "test" {
resource_group_name = azurerm_resource_group.test.name
publisher_name = "pub1"
publisher_email = "[email protected]"
sku_name = "Developer_1"
sku_name = "Consumption_0"
}

resource "azurerm_api_management_certificate" "test" {
Expand All @@ -183,7 +183,7 @@ resource "azurerm_api_management" "test" {
resource_group_name = azurerm_resource_group.test.name
publisher_name = "pub1"
publisher_email = "[email protected]"
sku_name = "Developer_1"
sku_name = "Consumption_0"

identity {
type = "SystemAssigned"
Expand Down Expand Up @@ -230,7 +230,7 @@ resource "azurerm_api_management" "test" {
resource_group_name = azurerm_resource_group.test.name
publisher_name = "pub1"
publisher_email = "[email protected]"
sku_name = "Developer_1"
sku_name = "Consumption_0"

identity {
type = "UserAssigned"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ resource "azurerm_api_management" "test" {
resource_group_name = azurerm_resource_group.test.name
publisher_name = "pub1"
publisher_email = "[email protected]"
sku_name = "Developer_1"
sku_name = "Consumption_0"
}

resource "azurerm_api_management_logger" "test" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ resource "azurerm_api_management" "test" {
publisher_name = "pub1"
publisher_email = "[email protected]"

sku_name = "Developer_1"
sku_name = "Consumption_0"
}

resource "azurerm_api_management_logger" "test" {
Expand Down Expand Up @@ -291,7 +291,7 @@ resource "azurerm_api_management" "test" {
publisher_name = "pub1"
publisher_email = "[email protected]"

sku_name = "Developer_1"
sku_name = "Consumption_0"
}

resource "azurerm_api_management_logger" "test" {
Expand Down Expand Up @@ -331,7 +331,7 @@ resource "azurerm_api_management" "test" {
publisher_name = "pub1"
publisher_email = "[email protected]"

sku_name = "Developer_1"
sku_name = "Consumption_0"
}

resource "azurerm_api_management_logger" "test" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ resource "azurerm_api_management" "test" {
publisher_name = "pub1"
publisher_email = "[email protected]"

sku_name = "Developer_1"
sku_name = "Consumption_0"
}

resource "azurerm_api_management_named_value" "test" {
Expand Down Expand Up @@ -120,7 +120,7 @@ resource "azurerm_api_management" "test" {
publisher_name = "pub1"
publisher_email = "[email protected]"

sku_name = "Developer_1"
sku_name = "Consumption_0"
}

resource "azurerm_api_management_named_value" "test" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ resource "azurerm_api_management" "test" {
resource_group_name = azurerm_resource_group.test.name
publisher_name = "pub1"
publisher_email = "[email protected]"
sku_name = "Developer_1"
sku_name = "Consumption_0"
}
`, data.RandomInteger, data.Locations.Primary, data.RandomInteger)
}
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ resource "azurerm_api_management" "test" {
resource_group_name = azurerm_resource_group.test.name
publisher_name = "pub1"
publisher_email = "[email protected]"
sku_name = "Developer_1"
sku_name = "Consumption_0"
}

resource "azurerm_api_management_policy" "test" {
Expand All @@ -128,7 +128,7 @@ resource "azurerm_api_management" "test" {
resource_group_name = azurerm_resource_group.test.name
publisher_name = "pub1"
publisher_email = "[email protected]"
sku_name = "Developer_1"
sku_name = "Consumption_0"
}

resource "azurerm_api_management_policy" "test" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ resource "azurerm_api_management" "test" {
publisher_name = "pub1"
publisher_email = "[email protected]"

sku_name = "Developer_1"
sku_name = "Consumption_0"
}

resource "azurerm_api_management_product" "test" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ resource "azurerm_api_management" "test" {
name = "acctestAM-%d"
publisher_name = "pub1"
publisher_email = "[email protected]"
sku_name = "Developer_1"
sku_name = "Consumption_0"
location = azurerm_resource_group.test.location
resource_group_name = azurerm_resource_group.test.name
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ resource "azurerm_api_management" "test" {
resource_group_name = azurerm_resource_group.test.name
publisher_name = "pub1"
publisher_email = "[email protected]"
sku_name = "Developer_1"
sku_name = "Consumption_0"
}

resource "azurerm_api_management_product" "test" {
Expand Down Expand Up @@ -163,7 +163,7 @@ resource "azurerm_api_management" "test" {
resource_group_name = azurerm_resource_group.test.name
publisher_name = "pub1"
publisher_email = "[email protected]"
sku_name = "Developer_1"
sku_name = "Consumption_0"
}

resource "azurerm_api_management_product" "test" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ resource "azurerm_api_management" "test" {
publisher_name = "pub1"
publisher_email = "[email protected]"

sku_name = "Developer_1"
sku_name = "Consumption_0"
}

resource "azurerm_api_management_product" "test" {
Expand Down Expand Up @@ -238,7 +238,7 @@ resource "azurerm_api_management" "test" {
publisher_name = "pub1"
publisher_email = "[email protected]"

sku_name = "Developer_1"
sku_name = "Consumption_0"
}

resource "azurerm_api_management_product" "test" {
Expand Down Expand Up @@ -272,7 +272,7 @@ resource "azurerm_api_management" "test" {
publisher_name = "pub1"
publisher_email = "[email protected]"

sku_name = "Developer_1"
sku_name = "Consumption_0"
}

resource "azurerm_api_management_product" "test" {
Expand Down Expand Up @@ -306,7 +306,7 @@ resource "azurerm_api_management" "test" {
publisher_name = "pub1"
publisher_email = "[email protected]"

sku_name = "Developer_1"
sku_name = "Consumption_0"
}

resource "azurerm_api_management_product" "test" {
Expand Down Expand Up @@ -341,7 +341,7 @@ resource "azurerm_api_management" "test" {
resource_group_name = azurerm_resource_group.test.name
publisher_name = "pub1"
publisher_email = "[email protected]"
sku_name = "Developer_1"
sku_name = "Consumption_0"
}

resource "azurerm_api_management_product" "test" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ resource "azurerm_api_management" "test" {
publisher_name = "pub1"
publisher_email = "[email protected]"

sku_name = "Developer_1"
sku_name = "Consumption_0"
}

resource "azurerm_api_management_property" "test" {
Expand Down Expand Up @@ -132,7 +132,7 @@ resource "azurerm_api_management" "test" {
publisher_name = "pub1"
publisher_email = "[email protected]"

sku_name = "Developer_1"
sku_name = "Consumption_0"
}

resource "azurerm_api_management_property" "test" {
Expand Down