Open KevinCarterDev opened 7 months ago
For now, you can run:
NGROK_AUTHTOKEN=your_token_here atlantis testdrive
and it will work!
interesting. i am getting ngrok path not found even though it exists. Seems the above is installed with brew but why does detecting fail? thank you
=> forking repo
=> fork completed!
=> terraform found in $PATH at /opt/homebrew/Cellar/atlantis/0.28.1/libexec/bin/terraform
=> ngrok not found in $PATH.
=> downloading ngrok
=> downloaded ngrok successfully!
=> creating secure tunnel
Error: creating ngrok tunnel: timeout, logs:
β― which ngrok
/opt/homebrew/bin/ngrok
For now, you can run:
NGROK_AUTHTOKEN=your_token_here atlantis testdrive
and it will work!
unfortunately this doesnt seem to work as ngrok didnt pick up the token for some reason. testdrive will download and try to run ngrok from a temp folder and during this process, it generates a new config file everytime. this means the auth token cannot be added.
For anyone that comes across this issue, I was able to work around it by installing a local version of atlantis rather than brew. Something like this worked for me:
wget https://github.com/runatlantis/atlantis/releases/download/v0.28.3/atlantis_darwin_arm64.zip
unzip atlantis_darwin_arm64.zip
chmod +x atlantis_darwin_arm64.zip
NGROK_AUTHTOKEN=<yourtoken> ./atlantis testdrive
Community Note
Overview of the Issue
ngrok requires an account and the client needs to authenticate with an authtoken.
Reproduction Steps
Logs
Environment details
Additional Context
Manually running the command that testdrive runs results in the same error
Adding the
--authtoken
flag to the command allows this to workSeems like testdrive needs to start asking for the ngrok authtoken to be input.