diff --git a/src/ALZ/Private/Shared/Get-OsArchitecture.ps1 b/src/ALZ/Private/Shared/Get-OsArchitecture.ps1 index dc02e28d..80004b27 100644 --- a/src/ALZ/Private/Shared/Get-OsArchitecture.ps1 +++ b/src/ALZ/Private/Shared/Get-OsArchitecture.ps1 @@ -38,6 +38,12 @@ function Get-OSArchitecture { exit 1 } + if($osAndArchitecture -eq "windows_arm64") { + Write-InformationColoured "Windows arm64 is not currently supported by Terraform, so we will pull the Windows amd64 verison instead and run in emulation mode: https://learn.microsoft.com/en-us/windows/arm/apps-on-arm-x86-emulation" -ForegroundColor Yellow -NewLineBefore -InformationAction Continue + $architecture = "amd64" + $osAndArchitecture = "windows_amd64" + } + return @{ os = $os architecture = $architecture