Could not complete django cloud run tutorial

Hello together.

I was testing some solutions to deploy a Web backend using Google cloud run, but I couldn't complete the plain tutorial for django.

Specifically, I'm stuck at 

After some digging (there are errors into the django-environ library which parses wrong the DATABASE_URL as indicated in the tutorial using postgre), I have been able to successfully execute it locally, performing migrations and so on.
When I try to deploy it, at the step #2 apply migrations, I get an error with the database, which says there is an error with cloud_sql_proxy (400, the DB instance does not exist).
 
I am not getting where is the error, I don't understand where it takes the DB instance (the secret manager?) But it should be set correctly since it executes locally without problems (with the local cloud sql proxy running).
 
Any help is appreciated, it's pretty discouraging that even a simple packed tutorial is not working...
 
Thanks
2 0 45
0 REPLIES 0