diff --git a/internal/services/nginx/nginx_certificate_resource_test.go b/internal/services/nginx/nginx_certificate_resource_test.go index 56beb097007f..425815d8f66d 100644 --- a/internal/services/nginx/nginx_certificate_resource_test.go +++ b/internal/services/nginx/nginx_certificate_resource_test.go @@ -225,7 +225,7 @@ resource "azurerm_user_assigned_identity" "test" { resource "azurerm_nginx_deployment" "test" { name = "acctest-%[1]d" resource_group_name = azurerm_resource_group.test.name - sku = "standard_Monthly" + sku = "standardv2_Monthly" capacity = 10 location = azurerm_resource_group.test.location diagnose_support_enabled = false diff --git a/internal/services/nginx/nginx_configuration_resource_test.go b/internal/services/nginx/nginx_configuration_resource_test.go index e1eec62fe9cd..e35bcea23845 100644 --- a/internal/services/nginx/nginx_configuration_resource_test.go +++ b/internal/services/nginx/nginx_configuration_resource_test.go @@ -285,7 +285,7 @@ resource "azurerm_subnet" "test" { resource "azurerm_nginx_deployment" "test" { name = "acctest-%[1]d" resource_group_name = azurerm_resource_group.test.name - sku = "standard_Monthly" + sku = "standardv2_Monthly" capacity = 10 location = azurerm_resource_group.test.location diff --git a/internal/services/nginx/nginx_deployment_resource_test.go b/internal/services/nginx/nginx_deployment_resource_test.go index 97212217f1a0..2272935729d5 100644 --- a/internal/services/nginx/nginx_deployment_resource_test.go +++ b/internal/services/nginx/nginx_deployment_resource_test.go @@ -105,7 +105,7 @@ func (a DeploymentResource) basic(data acceptance.TestData) string { resource "azurerm_nginx_deployment" "test" { name = "acctest-%[2]d" resource_group_name = azurerm_resource_group.test.name - sku = "standard_Monthly" + sku = "standardv2_Monthly" location = azurerm_resource_group.test.location diagnose_support_enabled = false automatic_upgrade_channel = "stable" @@ -138,7 +138,7 @@ func (a DeploymentResource) basicAutoscaling(data acceptance.TestData) string { resource "azurerm_nginx_deployment" "test" { name = "acctest-%[2]d" resource_group_name = azurerm_resource_group.test.name - sku = "standard_Monthly" + sku = "standardv2_Monthly" location = azurerm_resource_group.test.location diagnose_support_enabled = false automatic_upgrade_channel = "stable" @@ -181,7 +181,7 @@ func (a DeploymentResource) basicAutoscaling_update(data acceptance.TestData) st resource "azurerm_nginx_deployment" "test" { name = "acctest-%[2]d" resource_group_name = azurerm_resource_group.test.name - sku = "standard_Monthly" + sku = "standardv2_Monthly" location = azurerm_resource_group.test.location diagnose_support_enabled = false automatic_upgrade_channel = "stable" @@ -224,7 +224,7 @@ func (a DeploymentResource) update(data acceptance.TestData) string { resource "azurerm_nginx_deployment" "test" { name = "acctest-%[2]d" resource_group_name = azurerm_resource_group.test.name - sku = "standard_Monthly" + sku = "standardv2_Monthly" location = azurerm_resource_group.test.location diagnose_support_enabled = false @@ -256,7 +256,7 @@ func (a DeploymentResource) systemAssignedIdentity(data acceptance.TestData) str resource "azurerm_nginx_deployment" "test" { name = "acctest-%[2]d" resource_group_name = azurerm_resource_group.test.name - sku = "standard_Monthly" + sku = "standardv2_Monthly" location = azurerm_resource_group.test.location identity { @@ -293,7 +293,7 @@ resource "azurerm_user_assigned_identity" "test" { resource "azurerm_nginx_deployment" "test" { name = "acctest-%[2]d" resource_group_name = azurerm_resource_group.test.name - sku = "standard_Monthly" + sku = "standardv2_Monthly" location = azurerm_resource_group.test.location identity { diff --git a/website/docs/d/nginx_deployment.html.markdown b/website/docs/d/nginx_deployment.html.markdown index bf8d68812b6c..4b8d11f8bb4e 100644 --- a/website/docs/d/nginx_deployment.html.markdown +++ b/website/docs/d/nginx_deployment.html.markdown @@ -63,7 +63,7 @@ In addition to the Arguments listed above - the following Attributes are exporte * `nginx_version` - NGINX version of the Deployment. -* `sku` - The NGINX Deployment SKU. Possible values include `standard_Monthly`. +* `sku` - The NGINX Deployment SKU. * `automatic_upgrade_channel` - The automatic upgrade channel for this NGINX deployment. diff --git a/website/docs/r/nginx_deployment.html.markdown b/website/docs/r/nginx_deployment.html.markdown index d0a63a046532..ba645f469acb 100644 --- a/website/docs/r/nginx_deployment.html.markdown +++ b/website/docs/r/nginx_deployment.html.markdown @@ -57,7 +57,7 @@ resource "azurerm_subnet" "example" { resource "azurerm_nginx_deployment" "example" { name = "example-nginx" resource_group_name = azurerm_resource_group.example.name - sku = "standard_Monthly" + sku = "standardv2_Monthly" location = azurerm_resource_group.example.location managed_resource_group = "example" diagnose_support_enabled = true @@ -86,7 +86,7 @@ The following arguments are supported: * `location` - (Required) The Azure Region where the NGINX Deployment should exist. Changing this forces a new NGINX Deployment to be created. -* `sku` - (Required) Specifies the NGINX Deployment SKU. Possible values are `standard_Monthly` and `basic_Monthly`. Changing this forces a new resource to be created. +* `sku` - (Required) Specifies the NGINX Deployment SKU. Possible values are `standardv2_Monthly`, `basic_Monthly`. Changing this forces a new resource to be created. -> **NOTE:** If you are setting the `sku` to `basic_Monthly`, you cannot specify a `capacity` or `auto_scale_profile`; basic plans do not support scaling. Other `sku`s require either `capacity` or `auto_scale_profile`. If you're using `basic_Monthly` with deployments created before v4.0, you may need to use [Terraform's `ignore_changes` functionality](https://www.terraform.io/language/meta-arguments/lifecycle#ignore_changes) to ignore changes to the `capacity` field.