Closed HyperBrain closed 6 years ago
@azurelogic This PR is now finished (with the README instructions) and worked as stated in #26.
Sorry for the delay, @HyperBrain. I appreciate the work you've put in here. Trying to catch up on this between vacation, projects, and re:Invent.
Fixes #26
The plugin now supports configuration by an in-memory
.serverless-secrets
file.This is necessary for environments that do not allow for dynamic requires, e.g. webpack. The initialization can be done by calling the new optional
client.init()
function that will set the used config to the argument of the function.If
init()
has not been called in the handler, the current behavior of the client is used.