jarpy / lambkin

CLI tool for generating and managing simple functions in AWS Lambda
Apache License 2.0
74 stars 12 forks source link

CLI fails when no region is provided #7

Closed karmi closed 7 years ago

karmi commented 7 years ago

When you run a command such as --help without a region parameter, it fails:

$ lambkin --help
Traceback (most recent call last):
  (...)
  File "/usr/local/lib/python2.7/site-packages/lambkin/lambkin.py", line 25, in <module>
    lmbda = boto3.client('lambda')
  (...)
botocore.exceptions.NoRegionError: You must specify a region.