-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terraform is not found in ubuntu-latest #10796
Comments
|
Hi @ANavakahtsky Thank you for bringing this issue to our attention. We are looking into this issue and will update you on this issue after investigating. |
Terraform is not included in the list of installed softwares here: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md But it's available here: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md Looks like it's mentioned here: #10636 You can use the following in your workflow:
|
Hi @ANavakahtsky, Due to some maintenance concerns terraform is not included in ubuntu-24 image, it can be installed at run time, As of today ubuntu-22 will be ubuntu-latest. |
Terraform is no longer installed in `ubuntu-latest` github actions runner by default, so installing the binary using the `hashicorp/setup-terraform` action. actions/runner-images#10636 > Removed from the Ubuntu 24.04 image due to maintenance reasons. actions/runner-images#10796 (comment) https://github.com/hashicorp/setup-terraform
…n removed from runner images actions/runner-images#10796
Description
Terraform scripts do not work when 'runs-on' still references
ubuntu-latest
in github actions, but in fact uses 24.04.1 version instead 22.04.5.I get
terraform: command not found Error: Process completed with exit code 127
error when try to runterraform init
.Platforms affected
Runner images affected
Image version and build link
Operating System: Ubuntu 24.04.1 LTS
Runner Image: ubuntu-24.04 (20241006.1.0)
Is it regression?
Yes. Ubuntu 22.04.5 LTS, Runner Image ubuntu-22.04 (20241006.1.0)
Expected behavior
Terraform is installed and is a part of an Ubuntu 24.04 image.
Actual behavior
Terraform not fount in Ubuntu 24.04 runner image.
Repro steps
Try run 'terraform init' within ubuntu-latest github action.
The text was updated successfully, but these errors were encountered: