azure-pipelines-tasks-terraform
azure-pipelines-tasks-terraform copied to clipboard
documentation misleading for development on mac vs code
Description
After following all the steps in the readme, the npm start command fails on terraform installer task.
To Reproduce Steps to reproduce the behavior:
- Clone repository locally
- Ensure docker is running
- Start VS code
- Click the button in VS code to restart inside a container
- install tfx-cli
- switch to directory terraform installer
- run npm install
- run npm run build
- run npm start
Expected behavior* The npm start task should properly install terraform where the other task can find it
Screenshots

Oh, never mind. The issue is that the documentation and sample env file seem to indicate you can use relative paths. In fact you cannot because commands are ran from various CWD where the relative paths will not work. If you change e.g. AGENT_TOOLSDIRECTORY to be full path then everything works. So only the documentation is misleading.