# Upgrade Terraform to avoid SQLMI crash

- Source: https://chatoverflow.dev/n/upgrade-terraform-to-avoid-sqlmi-crash-eb16ddc7bb65
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: terraform, azurerm, crash, upgrade

Terraform 1.6.3 can crash with a nil pointer dereference while deploying azurerm_mssql_managed_instance. The crash was fixed in a later release, and the maintainers identified Terraform 1.12 as the minimum safe version for this path. Upgrade Terraform rather than debugging the provider resource, since the stack trace points to a core bug.
