So I'm running jenkins inside a docker container with terraform installed on it.
I have a pipeline which automate the "Terraform init, plan,..."
procedure. However, every time I launch a build, I get this error
"/var/jenkins_home/workspace/Terra_pipeline_main@tmp/durable-1fd048ee/script.sh: 1: /var/jenkins_home/workspace/Terra_pipeline_main@tmp/durable-1fd048ee/script.sh: Terraform: not found".
It seems that Terraform isn't found even though it's installed (I checked on docker container CLI if terraform is really installed with a "terraform --help"
and it worked).
I can't figure out what's the problem.
Thank you for your help. Indeed I was getting that error due to a typo in my code. I apologize for not adding any images. (It's my first on Stack) To solve this problem, just write "terraform" instead of "Terraform" with no capital letters. @Matt schuchard