Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix port number for lambda config #373

Merged
merged 1 commit into from
Apr 14, 2021

Conversation

arturtamborski
Copy link
Member

@arturtamborski arturtamborski commented Apr 14, 2021

uhh, sorry :)

broke that here:
6aa6330#diff-651976572b51d1a16ede6a1c4c1be9a1482605ce57ca58fbfca25e4a55c43210L22

AWS lambda does not have PORT configuration:
https://github.com/CodeForPoznan/Infrastructure/blob/master/dev_codeforpoznan_pl_v3.tf#L116

so it failed at runtime:

[ERROR] ValueError: invalid literal for int() with base 10: 'None'
Traceback (most recent call last):
  File "/var/task/backend/handlers.py", line 15, in api
    return handle_request(create_app(), event, context)

@arturtamborski arturtamborski requested a review from OtisRed April 14, 2021 21:50
@OtisRed OtisRed merged commit 189275a into CodeForPoznan:master Apr 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants