Hello all,
When provisioning a custom SUSE VM image with terraform in Azure, the creation times out after 40mins even though the VM has been successfully created and boots to the SUSE Yast GUI.
Two questions:
1 - Is there a way to get terraform to configure SUSE OS through Yast, or to at least get terraform to recognize the VM as provisioned?
2 - What does terraform use to recognize that a VM has been successfully provisioned?
Thanks for any help,
Here’s the error CLI output:
azurerm_linux_virtual_machine.myterraformvm: Still creating… [40m30s elapsed]
azurerm_linux_virtual_machine.myterraformvm: Still creating… [40m40s elapsed]
azurerm_linux_virtual_machine.myterraformvm: Still creating… [40m50s elapsed]
╷
│ Error: waiting for creation of Linux Virtual Machine “SilTASVM” (Resource Group “RT_ResourceGroup”): Code=“OSProvisioningTimedOut” Message=“OS Provisioning for VM ‘SilTASVM’ did not finish in the allotted time. The VM may still finish provisioning successfully. Please check provisioning state later. Also, make sure the image has been properly prepared (generalized).\r\n * Instructions for Windows: https://azure.microsoft.com/documentation/articles/virtual-machines-windows-upload-image/ \r\n * Instructions for Linux: https://azure.microsoft.com/documentation/articles/virtual-machines-linux-capture-image/ \r\n * If you are deploying more than 20 Virtual Machines concurrently, consider moving your custom image to shared image gallery. Please refer to https://aka.ms/movetosig for the same.”
│
│ with azurerm_linux_virtual_machine.myterraformvm,
│ on silconfigterraform.tf line 277, in resource “azurerm_linux_virtual_machine” “myterraformvm”:
│ 277: resource “azurerm_linux_virtual_machine” “myterraformvm” {
Ravik