DieProduktMacher / serverless-env-generator

A Serverless 1.x plugin to manage environment variables with YAML and turn them into a .env file on deployment. Supports encryption with KMS, multiple stages and custom profiles.
MIT License
31 stars 11 forks source link

Local invoke support added again #8

Closed Enase closed 5 years ago

Enase commented 5 years ago

In some reason local invoke support was removed. It was added by https://github.com/DieProduktMacher/serverless-env-generator/pull/6 a few month ago.

Enase commented 5 years ago

it would be great if u merge and release new package..

antesberger commented 5 years ago

Can you describe the issue that your pull request fixes?

Enase commented 5 years ago

Steps to reproduce:

  1. Setup environment.yml with secret_name variable in the same way as it described in README.md
  2. Create any function.
  3. Run any function with serverless invoke local, like sls invoke local -f your_funcation_name -p path/to/input_data.json --stage your_stage.

Expected result:

Actual result: