`terraform: command not found`
See original GitHub issueFound within a GH runner
{"level":"warn","message":"ignoring RUNNER_NAME environment variable, use CML_RUNNER_NAME or --name instead"}
{"level":"error","message":"terraform version\n\t\n\t/bin/sh: terraform: command not found\n","stack":"Error: terraform version\n\t\n\t/bin/sh: terraform: command not found\n\n at /usr/local/lib/node_modules/@dvcorg/cml/src/utils.js:[20](https://github.com/DavidGOrtega/fashion_mnist/runs/6076057465?check_suite_focus=true#step:4:20):27\n at ChildProcess.exithandler (node:child_process:406:5)\n at ChildProcess.emit (node:events:526:28)\n at maybeClose (node:internal/child_process:1092:16)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)","status":"terminated"}
{"level":"info","message":"waiting 10 seconds before exiting..."}
Error: Process completed with exit code 1.
example workflow
name: train-my-model
on: [push]
jobs:
deploy-runner:
runs-on: [macos-latest]
env:
REPO_TOKEN: ${{ secrets.REPO_TOKEN }}
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
steps:
- uses: actions/checkout@v2
- uses: iterative/setup-cml@v1
- name: deploy
shell: bash
run: |
cml --version
cml-runner \
--reuse \
--cloud-spot \
--cloud azure \
--cloud-region us-west \
--cloud-type Standard_D2S_v3 \
--labels cml
Issue Analytics
- State:
- Created a year ago
- Comments:13 (13 by maintainers)
Top Results From Across the Web
Terraform Command Not Found - Medium
Today, We have prepared to show you the video tutorial on how to install Terraform as well fix the error Terraform command not...
Read more >Install Terraform - HashiCorp Developer
If you get an error that terraform could not be found, your PATH environment variable was not set up properly. Please go back...
Read more >bash: terraform: command not found, export $PATH unresolved
And so the file exists, and the command fails. One solution is to remove the incorrect symlink /usr/bin/terraform and then re-run ln -s...
Read more >Terraform not found on Mac OS Montero - Reddit
I installed the Terraform through installing the Homebrew. But i got zsh: command not found: terraform as the output from my terminal. Do...
Read more >Fix Terraform not running even when added to Path ...
Follow the steps below on how to solve terraform command not recognized even when terraform is already added to the Path Environment ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Issue & Fix
There is nothing to repair, seems that GH has removed terraform from their runners. Has been today. Yesterday it worked perfectly