I have tried adding a server capability type executable command defining the path were terraform is install in the Bamboo server. However when running a local agent I get:
/opt/bamboo-home/temp/..611127650554.sh: line 6: /usr/bin/terraform: No such file or directory