From 146a82ea26276829181298a0142d6248d4320e96 Mon Sep 17 00:00:00 2001 From: Tracy Holmes Date: Fri, 14 Feb 2020 20:49:24 -0600 Subject: [PATCH] r/compute - adds support for additional dedicated host SKUs Validation added for two additional SKUs: DSv3-Type2 and ESv3-Type2 Fixes #5700 --- .../internal/services/compute/resource_arm_dedicated_host.go | 2 ++ website/docs/r/dedicated_host.html.markdown | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/azurerm/internal/services/compute/resource_arm_dedicated_host.go b/azurerm/internal/services/compute/resource_arm_dedicated_host.go index 11031012f622..d2d42cb804c9 100644 --- a/azurerm/internal/services/compute/resource_arm_dedicated_host.go +++ b/azurerm/internal/services/compute/resource_arm_dedicated_host.go @@ -68,7 +68,9 @@ func resourceArmDedicatedHost() *schema.Resource { Required: true, ValidateFunc: validation.StringInSlice([]string{ "DSv3-Type1", + "DSv3-Type2", "ESv3-Type1", + "ESv3-Type2", "FSv2-Type2", }, false), }, diff --git a/website/docs/r/dedicated_host.html.markdown b/website/docs/r/dedicated_host.html.markdown index 00af08790d59..fda61f4ec235 100644 --- a/website/docs/r/dedicated_host.html.markdown +++ b/website/docs/r/dedicated_host.html.markdown @@ -44,7 +44,7 @@ The following arguments are supported: * `location` - (Required) Specify the supported Azure location where the resource exists. Changing this forces a new resource to be created. -* `sku_name` - (Required) Specify the sku name of the Dedicated Host. Possible values are `DSv3-Type1`, `ESv3-Type1`, `FSv2-Type2`. Changing this forces a new resource to be created. +* `sku_name` - (Required) Specify the sku name of the Dedicated Host. Possible values are `DSv3-Type1`, `DSv3-Type2`, `ESv3-Type1`, `ESv3-Type2`,`FSv2-Type2`. Changing this forces a new resource to be created. * `platform_fault_domain` - (Required) Specify the fault domain of the Dedicated Host Group in which to create the Dedicated Host. Changing this forces a new resource to be created. @@ -64,8 +64,6 @@ The following attributes are exported: ## Timeouts - - The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/docs/configuration/resources.html#timeouts) for certain actions: * `create` - (Defaults to 30 minutes) Used when creating the Dedicated Host.