Skip to content

Commit

Permalink
Merge pull request #25 from kyleknap/new-chalice-version
Browse files Browse the repository at this point in the history
Update workshop after chalice 1.6.0 release
  • Loading branch information
kyleknap committed Jul 21, 2018
2 parents fa2f2e5 + cdf5049 commit 26b1ad4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions docs/source/media-query/00-intro-chalice.rst
Expand Up @@ -52,11 +52,11 @@ Verification
1. To check that ``chalice`` was installed, run::

$ chalice --version
chalice X.Y.Z, python 3.6.5, darwin 15.6.0
chalice 1.6.0, python 3.6.5, darwin 15.6.0



The version of ``chalice`` must be version ``X.Y.Z`` or higher and the
The version of ``chalice`` must be version ``1.6.0`` or higher and the
version of Python should be 2.7 or 3.6.


Expand Down Expand Up @@ -215,6 +215,7 @@ Verification
File "/var/task/app.py", line 12, in hello_name
name = event['name']
KeyError: 'name'
Error: Unhandled exception in Lambda function, details above.


Delete the Chalice application
Expand All @@ -241,10 +242,8 @@ Validation

$ chalice invoke -n hello_world
Could not find invokable resource with name: hello_world
Aborted!
$ chalice invoke -n hello_name
Could not find invokable resource with name: hello_name
Aborted!

You should no longer be able to invoke both Lambda functions as they have
been deleted.
2 changes: 1 addition & 1 deletion requirements.txt
@@ -1,2 +1,2 @@
Sphinx==1.6.4
chalice==1.5.0
chalice==1.6.0

0 comments on commit 26b1ad4

Please sign in to comment.