Hi @Gunnar Smith,
Welcome to the Microsoft Q&A and thank you for posting your questions here.
As i understand that you are trying to deploy a MSSQL Managed Instance via terraform.
The error message indicates that the polling after CreateOrUpdate has failed.
Here are some troubleshooting steps that might help:
- Verify that the Managed Instance is being created successfully in Azure. You can do this by checking the Azure portal or using the Azure CLI to query the resource group and instance.
- Double-check the Terraform configuration files, especially the main.tf file, to ensure that all required parameters are present and correct.
- Enable Terraform debugging to get more detailed logs about the deployment process. This can help identify the exact point of failure.
- Ensure that you haven’t hit any resource limits in your Azure subscription, such as the number of managed instances allowed.
- You can try increasing the polling timeout in Terraform to give the creation operation more time to complete. This can be done by setting the timeout parameter in the azurerm_mssql_managed_instance resource.
resource "azurerm_mssql_managed_instance" "mssql_managed_instance" {
# ... other configuration ...
timeouts {
create = "60m"
update = "60m"
delete = "60m"
}
}
For more information, please refer the document: Create instance with Terraform - Azure SQL Managed Instance.
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.