I know this is maybe a silly question but I am trying to export my terraform path into my linux path.
My terraform executable sits in a terraform folder under /usr/local/terraform.
I therefore did export PATH=$PATH:/usr/local/terraform/terraform
However, When i try and do terraform (going straight into terminal and type in terraform)it doesnt run. Only when I cd to usr/local/terraform and do a ./terraform then the executable runs.
What am i doing wrong?
PATH
should be a list of directories, not executables. – Oliver Charlesworth