Error: getaddrinfo ENOTFOUND ${db.HOSTNAME}

Change ${db.HOSTNAME} to ${xxxxx.HOSTNAME} (and the same for other vars), where ‘xxxxx’ is the db cluster name, for me which looked like this: ‘db-postgresql.abcd.1234’