-
Notifications
You must be signed in to change notification settings - Fork 48
Description
Is there an existing issue for this?
- I have searched the existing issues
Infrastructure as Code Type? (Required)
both
PowerShell Module Version (Optional)
4.2.3
Bootstrap Module Version (Optional)
No response
Starter Module? (Required)
bicep - complete
Starter Module Version (Optional)
No response
Input arguments of the ALZ-PowerShell-Module (Optional)
When running Deploy-Accelerator for the first time, I get a series of errors that refer to "The term 'terraform' is not recognized as a name of a cmdlet". After further digging, I found that the URL that is calculated within the "Get-TerraformTool.ps1" file is no longer accurate.
The script creates this URL:
https://releases.hashicorp.com/terraform/v1.11.0/terraform_v1.11.0_windows_amd64.zip
The actual URL is:
https://releases.hashicorp.com/terraform/1.11.0/terraform_1.11.0_windows_amd64.zip
Debug Output/Panic Output (Optional)
Expected Behaviour (Required)
The script should be able to download the latest version of Terraform
Actual Behaviour (Required)
Invoke-WebRequest -Uri $url -OutFile "$zipfilePath" | Out-String | Write-Verbose
Invoke-WebRequest:
NoSuchKey
The specified key does not exist.
terraform/v1.11.0/terraform_v1.11.0_windows_amd64.zip
V1WNNHBAERAM4EWG
zKdTvpvdEti77TrGw5q2PUF3vM1RYaUaUOv49FiEeYV42rT6ze4UPGX3yMlr+JOiUYyBZjOFqcI=
Steps to Reproduce (Optional)
No response
Important Factoids (Optional)
No response
References (Optional)
No response