Skip to content

Commit

Permalink
`azurerm_network_interface_application_gateway_backend_address_pool_a…
Browse files Browse the repository at this point in the history
…ssociation` - Fixing test (#28351)
  • Loading branch information
sreallymatt authored Dec 21, 2024
1 parent e8d5187 commit 021a08d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,8 @@ resource "azurerm_public_ip" "test" {
name = "acctestpip%d"
location = azurerm_resource_group.test.location
resource_group_name = azurerm_resource_group.test.name
allocation_method = "Dynamic"
sku = "Basic"
allocation_method = "Static"
sku = "Standard"
}
# since these variables are re-used - a locals block makes this more maintainable
Expand All @@ -301,8 +301,8 @@ resource "azurerm_application_gateway" "test" {
location = azurerm_resource_group.test.location
sku {
name = "Standard_Small"
tier = "Standard"
name = "Standard_v2"
tier = "Standard_v2"
capacity = 2
}
Expand Down Expand Up @@ -346,6 +346,7 @@ resource "azurerm_application_gateway" "test" {
http_listener_name = local.listener_name
backend_address_pool_name = local.backend_address_pool_name
backend_http_settings_name = local.http_setting_name
priority = 1000
}
}
`, data.RandomInteger, data.Locations.Primary, data.RandomInteger, data.RandomInteger, data.RandomInteger)
Expand Down
6 changes: 2 additions & 4 deletions website/docs/r/application_gateway.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -450,11 +450,9 @@ A `global` block supports the following:

A `sku` block supports the following:

* `name` - (Required) The Name of the SKU to use for this Application Gateway. Possible values are `Basic`, `Standard_Small`, `Standard_Medium`, `Standard_Large`, `Basic`, `Standard_v2`, `WAF_Medium`, `WAF_Large`, and `WAF_v2`.
* `name` - (Required) The Name of the SKU to use for this Application Gateway. Possible values are `Basic`, `Standard_v2`, and `WAF_v2`.

* `tier` - (Required) The Tier of the SKU to use for this Application Gateway. Possible values are `Basic`, `Standard`, `Standard_v2`, `WAF` and `WAF_v2`.

!> **NOTE:** The `Standard` and `WAF` SKU have been deprecated in favour of the `Basic`, `Standard_v2` and `WAF_v2` SKU. Please see the [Azure documentation](https://aka.ms/V1retirement) for more details.
* `tier` - (Required) The Tier of the SKU to use for this Application Gateway. Possible values are `Basic`, `Standard_v2`, and `WAF_v2`.

* `capacity` - (Optional) The Capacity of the SKU to use for this Application Gateway. When using a V1 SKU this value must be between `1` and `32`, and `1` to `125` for a V2 SKU. When using a `Basic` SKU this property must be between `1` and `2`. This property is optional if `autoscale_configuration` is set.

Expand Down

0 comments on commit 021a08d

Please sign in to comment.