clong / DetectionLab

Automate the creation of a lab environment complete with security tooling and logging best practices
MIT License
4.57k stars 978 forks source link

error executing "/tmp/terraform_1945368180.sh": wait: remote command exited │ without exit status or exit signal #906

Open rstar13as opened 7 months ago

rstar13as commented 7 months ago

Please verify that you are building from an updated Master branch before filing an issue: Yes, cloned 16/12/23

Description of the issue:

Build process fails with the following errors for Azure;

╷ │ Error: remote-exec provisioner error │ │ with azurerm_virtual_machine.logger, │ on main.tf line 261, in resource "azurerm_virtual_machine" "logger": │ 261: provisioner "remote-exec" { │ │ error executing "/tmp/terraform_1945368180.sh": wait: remote command exited │ without exit status or exit signal ╵ ╷ │ Error: compute.VirtualMachinesClient#CreateOrUpdate: Failure sending request: StatusCode=404 -- Original Error: Code="PlatformImageNotFound" Message="The platform image 'MicrosoftWindowsDesktop:Windows-10:19h1-pron:latest' is not available. Verify that all fields in the storage profile are correct. For more details about storage profile information, please refer to https://aka.ms/storageprofile" Target="imageReference" │ │ with azurerm_virtual_machine.win10, │ on main.tf line 549, in resource "azurerm_virtual_machine" "win10": │ 549: resource "azurerm_virtual_machine" "win10" { │

-->

Link to Gist Containing Build Logs: