claudia will create the lambda, roles, etc., but then fails, as the bad-directory doesn't exist.
saving configuration
{ Error: ENOENT: no such file or directory, open 'bad-directory/config.json'
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: 'bad-directory/config.json' }
But now you have a lambda without a config. While it isn't too bad to manually create the config, it would be preferable to either a) verify the config file can be written or, at minimum, b) write the config file to the console with a message instructing the user to create the config file with the given contents.
If you do the following (and
bad-directory
doesn't exist/isn't writable)claudia
will create the lambda, roles, etc., but then fails, as thebad-directory
doesn't exist.But now you have a lambda without a config. While it isn't too bad to manually create the config, it would be preferable to either a) verify the config file can be written or, at minimum, b) write the config file to the console with a message instructing the user to create the config file with the given contents.
Thanks