Closed Austint30 closed 6 years ago
@Austint30 you may have already found a solution, but I added:
import boto3
boto3.setup_default_session(region_name='us-east-1')
to my settings.py and the error went away.
Another way to solve this problem is to add AWS_DEFAULT_REGION environment
After deploying my application to AWS Elastic Beanstalk, I have been getting a NoRegionError. Everything works fine when I run my Django server locally. I am not sure if this is a bug or if I am doing something wrong. There is no mentioning of a "region_name" in the readme file.
Error Output