Open kural82 opened 1 year ago
The storage account that you want to use for your backend needs to exist before you run terraform. TF itself cannot create that storage account
storageaccountnametest19.blob.core.windows.net: no such host
Hi @kural82, thanks for reporting this crash, according to the dump stack:
github.com/hashicorp/terraform/internal/backend/remote-state/azure.(*RemoteClient).Put(0xc0002242d0, {0xc00064f980, 0x1859, 0x1980}) /Users/distiller/project/project/internal/backend/remote-state/azure/client.go:88 +0x583
The code that crashed Terraform is in Terraform core
I'd like to submit a pr to fix this issue, would you please copy this issue to Terraform repo and close this one so I can reference your pr at Terraform repo? Thanks!
I've opened a pr to fix this issue, please ping me there once you've opened a new issue there, thanks @kural82!
Is there an existing issue for this?
Community Note
Terraform Version
Terraform v1.3.9
AzureRM Provider Version
v3.46.0
Affected Resource(s)/Data Source(s)
azurerm storage account
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
Just deleting the resources after running terraform destroy
Actual Behaviour
terraform crashed
Steps to Reproduce
No response
Important Factoids
No response
References
No response