From 1ad00ffa283f61e033e982173ca2f5d42f404dc7 Mon Sep 17 00:00:00 2001 From: Harshavardhan Musanalli Date: Mon, 4 Dec 2023 08:26:55 +0100 Subject: [PATCH] #24080 : Adding support for more vcores. (#24085) * #24080 : Adding support for more vcores. * #24080 : Updating documentation --------- Co-authored-by: Harshavardhan Musanalli --- .../mssql_managed_instance_resource.go | 8 ++++++++ website/docs/r/mssql_managed_instance.html.markdown | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/internal/services/mssqlmanagedinstance/mssql_managed_instance_resource.go b/internal/services/mssqlmanagedinstance/mssql_managed_instance_resource.go index fd856b9b4357..e8e9e539bb20 100644 --- a/internal/services/mssqlmanagedinstance/mssql_managed_instance_resource.go +++ b/internal/services/mssqlmanagedinstance/mssql_managed_instance_resource.go @@ -138,13 +138,21 @@ func (r MsSqlManagedInstanceResource) Arguments() map[string]*pluginsdk.Schema { Required: true, ValidateFunc: validation.IntInSlice([]int{ 4, + 6, 8, + 10, + 12, 16, + 20, 24, 32, 40, + 48, + 56, 64, 80, + 96, + 128, }), }, diff --git a/website/docs/r/mssql_managed_instance.html.markdown b/website/docs/r/mssql_managed_instance.html.markdown index 2a5cd5fabf06..c352324abe73 100644 --- a/website/docs/r/mssql_managed_instance.html.markdown +++ b/website/docs/r/mssql_managed_instance.html.markdown @@ -225,7 +225,7 @@ The following arguments are supported: * `subnet_id` - (Required) The subnet resource id that the SQL Managed Instance will be associated with. Changing this forces a new resource to be created. -* `vcores` - (Required) Number of cores that should be assigned to the SQL Managed Instance. Values can be `8`, `16`, or `24` for Gen4 SKUs, or `4`, `8`, `16`, `24`, `32`, `40`, `64`, or `80` for Gen5 SKUs. +* `vcores` - (Required) Number of cores that should be assigned to the SQL Managed Instance. Values can be `8`, `16`, or `24` for Gen4 SKUs, or `4`, `6`, `8`, `10`, `12`, `16`, `20`, `24`, `32`, `40`, `48`, `56`, `64`, `80`, `96` or `128` for Gen5 SKUs. * `collation` - (Optional) Specifies how the SQL Managed Instance will be collated. Default value is `SQL_Latin1_General_CP1_CI_AS`. Changing this forces a new resource to be created.