Skip to content

Commit

Permalink
azurerm_mssql_managed_instance - support the value GZRS for the stora…
Browse files Browse the repository at this point in the history
…ge_account_type property (#26448)
  • Loading branch information
katbyte committed Jun 27, 2024
1 parent 4851485 commit 985d6c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ func (r MsSqlManagedInstanceResource) Arguments() map[string]*pluginsdk.Schema {
string(sql.StorageAccountTypeGRS),
string(sql.StorageAccountTypeLRS),
string(sql.StorageAccountTypeZRS),
"GZRS", // manually adding until resource is ported to go-azure-sdk and we can upgrade to a newer API version
}, false),
},

Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/mssql_managed_instance.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ The following arguments are supported:

* `public_data_endpoint_enabled` - (Optional) Is the public data endpoint enabled? Default value is `false`.

* `storage_account_type` - (Optional) Specifies the storage account type used to store backups for this database. Changing this forces a new resource to be created. Possible values are `GRS`, `LRS` and `ZRS`. Defaults to `GRS`.
* `storage_account_type` - (Optional) Specifies the storage account type used to store backups for this database. Changing this forces a new resource to be created. Possible values are `GRS`, `GZRS`, `LRS`, and `ZRS`. Defaults to `GRS`.

* `zone_redundant_enabled` - (Optional) Specifies whether or not the SQL Managed Instance is zone redundant. Defaults to `false`.

Expand Down

0 comments on commit 985d6c7

Please sign in to comment.