terraform-aws-django
terraform-aws-django copied to clipboard
Rename variables for clarity, update default values
This PR attempts to bring clarity with:
- Rename
default_celery_worker_*
tocelery_worker_*
(since there is only 1 worker, this keeps things clear between celery_beat and celery_worker and avoids the confusion of variables likedefault_celery_worker_memory
- Rename
api_*
tobackend_*
(memory, cpu, command) - Update variable description to be generic, but hopefully add more context
This PR also changes the lowers the memory and CPU allocated.
As an aside, I've been running gunicorn with 0.01 vCPU (10
CPU Units) and 512 MB memory and haven't had any issues! We don't need to go that low necessarily, but it's good to know how much we might need to set defaults.