Closed
Description
OpenTofu Version
OpenTofu v1.8.4
on windows_amd64
The problem in your OpenTofu project
When there is a network issue with dataplane access to the storage account configured in azurerm backend tofu will appear not to respond for 15min before outputting a error (with default log levels):
15 min timeout error:
Error: error loading state: blobs.Client#Get: Failure sending request: StatusCode=0 -- Original Error: Get "https://example.blob.core.windows.net/example/example.state": EOF
Attempted Solutions
Found no option for this under https://opentofu.org/docs/language/settings/backends/azurerm/
Proposal
Include a parameter for "timeout", the default seems to be 15min.
Example proposed config:
backend "azurerm" {
resource_group_name = "example"
storage_account_name = "example"
container_name = "example"
key = "example.state"
use_azuread_auth = true
timeout = "60" # value in seconds
}
References
No response