I am developing a Cloud Run application locally (using Cloud Code in VS Code).
When I go to deploy the application, there is an option to set a connection my Cloud SQL instance:

However, I am not sure how to establish this connection when I am running/debugging locally as this dialog window never appears. Because of this, I am unable to access my Cloud SQL instance.
What is the correct way of running a Cloud Run application locally in Cloud Code and having a connection to my Cloud SQL Connection?
Best answer by malamin
View original