You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,3 +92,13 @@ If you now try and run:
92
92
"your test handler was successfully invoked!" should print out in your console. You've probably already put together that the ``lambda invoke`` command passes the values stored in the ``event.json`` file to your function.
93
93
94
94
The ``event.json`` file should help you develop your Lambda service locally.
95
+
96
+
When you're ready to deploy your code to lambda simply run:
97
+
98
+
.. code:: bash
99
+
100
+
(my_microservice) $ lambda deploy
101
+
102
+
The deploy script will evaluate your virtualenv and identify your project dependencies (actually just pip freeze). It will package these up along with your handler function to a zip file that it then uploads to AWS Lambda.
103
+
104
+
You can now log into the AWS Lambda management console to verify the code deployed successfully and wire it up to respond to an event.
0 commit comments