From 021a08df6f4d74dab255b574b895a05d3a3f0b39 Mon Sep 17 00:00:00 2001 From: sreallymatt <106555974+sreallymatt@users.noreply.github.com> Date: Fri, 20 Dec 2024 17:34:04 -0700 Subject: [PATCH] `azurerm_network_interface_application_gateway_backend_address_pool_association` - Fixing test (#28351) --- ...face_application_gateway_association_resource_test.go | 9 +++++---- website/docs/r/application_gateway.html.markdown | 6 ++---- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/internal/services/network/network_interface_application_gateway_association_resource_test.go b/internal/services/network/network_interface_application_gateway_association_resource_test.go index 4895dd03b447..cd070f5dfd07 100644 --- a/internal/services/network/network_interface_application_gateway_association_resource_test.go +++ b/internal/services/network/network_interface_application_gateway_association_resource_test.go @@ -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 @@ -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 } @@ -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) diff --git a/website/docs/r/application_gateway.html.markdown b/website/docs/r/application_gateway.html.markdown index 0a4625d8dea5..82d20ac76feb 100644 --- a/website/docs/r/application_gateway.html.markdown +++ b/website/docs/r/application_gateway.html.markdown @@ -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.