When calling drush la outside of a container deployed environment, if the LAGOON environment variable is not present, it returns an error below when attempting to get a token. The user experiencing this uses DDEV locally, and I'm unsure how DDEV local development works with Lagoon.
[warning] Undefined array key 1 LagoonCommands.php:188
In Process.php line 269:
The command "'ssh' '-p' "" '-o' 'ConnectTimeout=5' '-o' 'LogLevel=FATAL' '-o' 'UserKnownHostsFile=/dev/null' '-o' 'StrictHostKeyChecking=no' 'lag
oon@' 'token'" failed.
Exit Code: 255(Unknown error)
Working directory: /Users/person/work/project/env/www
Output:
================
Error Output:
================
Bad port ''
Raising the issue for tracking at least.