jorgebastida / gordon

λ Gordon is a tool to create, wire and deploy AWS Lambdas using CloudFormation
Other
2.04k stars 137 forks source link

Gordon apply error in 0.3.0 (works in 0.2.1) #85

Open ValerioM opened 8 years ago

ValerioM commented 8 years ago
$ gordon apply --stage=dev
Applying project...
Enter MFA code: [...enter code...]
Traceback (most recent call last):
  File "/usr/local/bin/gordon", line 9, in <module>
    load_entry_point('gordon==0.3.0', 'console_scripts', 'gordon')()
  File "/usr/local/lib/python2.7/dist-packages/gordon/bin.py", line 106, in main
    getattr(obj, options.func)()
  File "/usr/local/lib/python2.7/dist-packages/gordon/core.py", line 426, in apply
    context.update(self.collect_parameters())
  File "/usr/local/lib/python2.7/dist-packages/gordon/core.py", line 475, in collect_parameters
    context=context
  File "/usr/local/lib/python2.7/dist-packages/gordon/utils.py", line 190, in convert_cloudformation_types
    cf_data[k] = ', '.join(v)
TypeError: sequence item 0: expected string, dict found

The same project/config work fine in 0.2.1. NOT using bucket event sources at all. I'm not into python so just tell me what you need to debug the issue there... :)