vinodkr494

Results 3 comments of vinodkr494

> The issue appears to be the new behaviour of django-storages to automatically pull the AWS security token from environment variables. > > AWS Lambda provides `AWS_SESSION_TOKEN` and `AWS_SECURITY_TOKEN` as...

i was able to fix by adding custom storages.py ```python from django.conf import settings from storages.backends.s3boto3 import S3Boto3Storage class SecurityTokenWorkaroundS3Boto3Storage(S3Boto3Storage): def _get_security_token(self): return None class MediaStorage(SecurityTokenWorkaroundS3Boto3Storage): location = settings.MEDIAFILES_LOCATION class...