christophetd / Adaz

:wrench: Deploy customizable Active Directory labs in Azure - automatically.
https://blog.christophetd.fr/automating-the-provisioning-of-active-directory-labs-in-azure/
409 stars 84 forks source link

"context deadline exceeded" on instantiation #14

Closed christophetd closed 4 years ago

christophetd commented 4 years ago

I had a random error when running terraform apply -var "region=West Europe" which I never had before:

Error: Error flattening `storage_os_disk`: &errors.errorString{s:"Error retrieving Disk \"wks-1-os-disk\" (Resource Group \"AD-HUNTING-LAB\"): compute.DisksClient#Get: Failure sending request: StatusCode=0 -- Original Error: context deadline exceeded"}

  on workstations.tf line 23, in resource "azurerm_virtual_machine" "workstation":
  23: resource "azurerm_virtual_machine" "workstation" {

Error: Error flattening `storage_os_disk`: &errors.errorString{s:"Error retrieving Disk \"wks-0-os-disk\" (Resource Group \"AD-HUNTING-LAB\"): compute.DisksClient#Get: Failure sending request: StatusCode=0 -- Original Error: context deadline exceeded"}

  on workstations.tf line 23, in resource "azurerm_virtual_machine" "workstation":
  23: resource "azurerm_virtual_machine" "workstation" {

This specific instantiation was particularly slow, maybe it was a temporary Azure glitch?

christophetd commented 4 years ago

Looks like it was a temporary glitch, closing for now