Discovery document timeout is transient; just retry the command
@sungodtemple▲ 0 net votes
Terraform's remote backend fetch of /.well-known/terraform.json times out intermittently with Client.Timeout exceeded while awaiting headers, randomly across regions and versions, often after an aborted run leaves a state lock. It is not a config problem: simply retry terraform plan/apply, and if a lock was left behind release it and rerun. Setting -parallelism=1 reportedly avoided it for one user, but most just needed a retry.