From e579737cf624329d0ce8975d6a83c54b5684e72c Mon Sep 17 00:00:00 2001 From: Harshavardhan Musanalli Date: Fri, 1 Dec 2023 08:31:47 +0100 Subject: [PATCH 1/2] #24080 : Adding support for more vcores. --- .../mssql_managed_instance_resource.go | 8 ++++++++ 1 file changed, 8 insertions(+) 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, }), }, From a37b277a8914a46dddd922498def1e5d1cb77666 Mon Sep 17 00:00:00 2001 From: Harshavardhan Musanalli Date: Fri, 1 Dec 2023 08:40:07 +0100 Subject: [PATCH 2/2] #24080 : Updating documentation --- website/docs/r/mssql_managed_instance.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.