testdrivenio/django-ecs-terraform

No superuser?

llaisdy opened this issue · 1 comments

This is an excellent tutorial -- thank you very much!

Everything goes very smoothly, apart from logging into the django admin site. There doesn't seem to be a superuser. Is one created -- and if so where is its username and password?

If not, what would be the best way to create one? Could I set up a "aws_ecs_task_definition" to create a superuser?

Yes, creating a terraform task to run createsuperuser, & running that like the run-migrations script, seems to work.