Sorry for not being able to paste in any TF code or output from running TF. The work is do is on a classified network.
I am able to create a VM in Azure utilizing Gitlab pipelines, Terraform container version 1.6, and TF AzureRM provider 3.117. However when I go to destroy the resources, the provider sits waiting for the the virtual machine to destroy.
Here is a hyphenated output from setting TF_LOG to “TRACE”:
"root" is waiting for "provider (close)"
"Provider" is waiting for "network interface (destroy)"
"network interface" is waiting for "virtual machine (destroy)"
"virtual machine" still destroying
This keeps repeating til a timeout of 45 minutes.
Does anyone have any ideas what the provider may be waiting for and why it may not be responding?