How do I refresh my Google Cloud Function code as it is not updating
I have a google cloud function that automatically deploys from GitHub. It is deploying fine no errors what so ever. In the Cloud Functions details I can see the version has updated to my most recent deployment, but when viewing the code it is still showing old code. It has been multiple hours since the first change as I read it could be cached but as said it is still not refreshing the code.
Error: connect ECONNREFUSED 127.0.0.1:543 Connect to Cloud SQL for PostgreSQL from Cloud Functions
I am following this doc:
https://cloud.google.com/sql/docs/postgres/connect-instance-cloud-functions
Issue connecting Google Cloud Function to Google VM instantce
I have never use Google Cloud before and this is all pretty new to me but Im trying to set it up anyway. Basically I would like my flow like this: