Open trumpet2012 opened 3 months ago
Thanks for the report. I'm not sure how to reproduce — can you shed any light on your debugging? It seems like to me that https://github.com/jschneier/django-storages/commit/9fca46c76f9b10131f3329a013cd2a67e7fdd4f5 is the culprit, could you try reverting just that commit and seeing if that fixes it?
Touching anything with S3 auth is always a nightmare, too many ways to slice it.
I'm working on getting a reproducible CDK stack and django app that I can share to recreate the issue. We have to do some hacky things in CDK to get cloudformation to run our lambda management commands as part of the deployment. I suspect it's going to be something with how that is implemented.
We have a lambda function that gets called as part of our cloudformation deployment to run collectstatic. After upgrading django-storages from 1.14.3 to 1.14.4 we started seeing the following errors when running collectstatic:
Looking at the error in sentry we are able to see that the
None
in the list of scopes is coming fromself.credentials.access_key
.Reverting back to 1.14.3 fixes the issue.
Other dep versions