The psql utility used to access a Cloud SQL instance seems to work differently from the original PostgreSQL psql client.
I'm not sure, but it seems that it is only possible to use psql to connect to the instance. I was not able to find all the psql parameters available for Cloud SQL, so I'm wondering if it is possible to run in the CLI something like:
psql "sslmode=disable dbname=postgres user=postgres hostaddr=[INSTANCE_IP] command=[COMMAND]".
This would help me run some scripts automatically. Can someone confirm if this is somehow possible to do?