Remove redis password. We're depending on Elasticache network-level security now, and there doesn't appear to be a way to set an auth token when instantiating the instance (it can be done with the AWS CLI, but that doesn't fit nicely into Terraform).
@@ -132,7 +132,6 @@ CACHES = {
"LOCATION": 'redis://' + REDIS_HOST + ':6379/' + '0',
"OPTIONS": {
"CLIENT_CLASS": "django_redis.client.DefaultClient",
- "PASSWORD": os.environ.get('REDIS_PASSWORD')
},
},
# For rapidly changing stats that we don't want to hammer the database with
@@ -141,7 +140,6 @@ CACHES = {
"LOCATION": 'redis://' + REDIS_HOST + ':6379/' + '1',
"OPTIONS": {
"CLIENT_CLASS": "django_redis.client.DefaultClient",
- "PASSWORD": os.environ.get('REDIS_PASSWORD')
},
},
# For ensuring consistency among multiple Django workers and servers.
@@ -151,7 +149,6 @@ CACHES = {
"LOCATION": 'redis://' + REDIS_HOST + ':6379/2',
"OPTIONS": {
"CLIENT_CLASS": "django_redis.client.DefaultClient",
- "PASSWORD": os.environ.get('REDIS_PASSWORD')
},
}
}
