terraform-aws-django icon indicating copy to clipboard operation
terraform-aws-django copied to clipboard

Rename variables for clarity, update default values

Open codyfletcher opened this issue 2 years ago • 0 comments

This PR attempts to bring clarity with:

  1. Rename default_celery_worker_* to celery_worker_* (since there is only 1 worker, this keeps things clear between celery_beat and celery_worker and avoids the confusion of variables like default_celery_worker_memory
  2. Rename api_* to backend_* (memory, cpu, command)
  3. 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.

codyfletcher avatar Jan 21 '23 00:01 codyfletcher