Skip to content

Commit 6814cbd

Browse files
authored
azurerm_mssql_managed_instance - increase storage_size_in_gb maximum to 32768 (hashicorp#31387)
[ENHANCEMENT] * `azurerm_mssql_managed_instance` - increase `storage_size_in_gb` maximum to `32768`
1 parent a71bbd5 commit 6814cbd

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

internal/services/mssqlmanagedinstance/mssql_managed_instance_resource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func (r MsSqlManagedInstanceResource) Arguments() map[string]*pluginsdk.Schema {
134134
"storage_size_in_gb": {
135135
Type: schema.TypeInt,
136136
Required: true,
137-
ValidateFunc: validation.IntBetween(32, 16384),
137+
ValidateFunc: validation.IntBetween(32, 32768),
138138
},
139139

140140
"subnet_id": {

website/docs/r/mssql_managed_instance.html.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,8 @@ The following arguments are supported:
221221

222222
* `storage_size_in_gb` - (Required) Maximum storage space for the SQL Managed instance. This should be a multiple of 32 (GB).
223223

224+
-> **Note:** The maximum storage size varies depending on the service tier and hardware generation. For General Purpose Next-gen instances, the maximum is 32,768 GB (32 TB), while Business Critical instances support up to 16,384 GB (16 TB). Refer to [Azure SQL Managed Instance resource limits](https://learn.microsoft.com/en-us/azure/azure-sql/managed-instance/resource-limits) for detailed information.
225+
224226
* `subnet_id` - (Required) The subnet resource id that the SQL Managed Instance will be associated with.
225227

226228
* `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.

0 commit comments

Comments
 (0)