You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CI pipeline is failing due to Terraform not being found in the PATH on GitHub Actions runners. This is caused by recent changes to GitHub's Ubuntu runner images where certain packages, including Terraform, have been removed from the default image.
Error message:
Downloaded model: gen/models/Cisco-IOS-XR-um-if-ipv6-cfg.yang
main.go:41: running "terraform": exec: "terraform": executable file not found in $PATH
Root Cause
According to GitHub's changelog, they are migrating ubuntu-latest to Ubuntu 24.04 and have reduced the number of pre-installed packages to maintain their SLA for free disk space.
Proposed Solution
Add the official HashiCorp setup-terraform action to the workflow:
- name: Setup Terraformuses: hashicorp/setup-terraform@v2with:
terraform_version: '1.5.0'# or preferred version
Additional Context
This change affects all workflows running on the new Ubuntu 24.04 images
The migration of ubuntu-latest to Ubuntu 24.04 started on December 5, 2024
Similar issues might occur with other previously pre-installed tools
Description
The CI pipeline is failing due to Terraform not being found in the PATH on GitHub Actions runners. This is caused by recent changes to GitHub's Ubuntu runner images where certain packages, including Terraform, have been removed from the default image.
Error message:
Root Cause
According to GitHub's changelog, they are migrating
ubuntu-latest
to Ubuntu 24.04 and have reduced the number of pre-installed packages to maintain their SLA for free disk space.Proposed Solution
Add the official HashiCorp setup-terraform action to the workflow:
Additional Context
ubuntu-latest
to Ubuntu 24.04 started on December 5, 2024References
Software Differences
The text was updated successfully, but these errors were encountered: