Fix/aa minor fixes after lando update
fixed indentation in .lando.yml fixed settings.lando.php: getting database settings from lando info env (lando_info is a list, not a hash - taking service info by servie key does not make any sense)
@aaleksu , could you please create a separate PR for indentation fix? Then we can merge it in and discuss about other changes further here.
+1 for indentation fix, thanks!
settings.lando.phpcomes from here: wunderio/drupal-project#22, doesn't it work for you?
No, it does not work. I get empty database settings when I debug $databases variable in settings.php.
And it happens because $lando_info does not have key database. So, it just puts NULLs into all the database values.
@aaleksu , could you please create a separate PR for indentation fix? Then we can merge it in and discuss about other changes further here.
The thing is that app will start successfully, but you won't get project running, because Drupal will not be able to connect to database (because of wrong (null) credentials).