local variable 'params' referenced before assignment
davidobrien1985 opened this issue · 1 comments
davidobrien1985 commented
Deployed this stack for use with Bitbucket cloud.
2 things:
- the bitbucket cloud IPs have changed, which wasn't a big deal
- the
ZipDlLambda
throws this error when it runs:
local variable 'params' referenced before assignment: UnboundLocalError
Traceback (most recent call last):
File "/var/task/lambda_function.py", line 126, in lambda_handler
r = requests.get(archive_url, verify=verify, headers=headers, params=params)
UnboundLocalError: local variable 'params' referenced before assignment
Which makes this quickstart unusable as it is.
Can this please be fixed.
Thanks.
davidobrien1985 commented
Workaround:
Delete params=params
in line 126 of lambda_function.py
.