freelawproject / bigcases2

The sequel to Big Cases Bot
Other
18 stars 11 forks source link

fix(aws_settings): Add missing variable to production settings #628

Closed elisa-a-v closed 2 weeks ago

elisa-a-v commented 2 weeks ago

The PR that implements Threads support added a new env variable to support AWS temporary credentials, which requires a session token, but the variable was only set for development so when running in production we get this:

cannot import name 'AWS_SESSION_TOKEN' from 'bc.settings' (/opt/bigcases2/bc/settings/__init__.py)

This PR solves this issue.