Hi and thanks for reading.

ON_DEMAND parameter is marked as deprecated and should not be used. Serverless SQL database doesn't exists on Google Cloud.

You could imagine to listen the logs (for example a sink in PubSub or use EventArc) and when you have a DB connect error entry to start the Cloud SQL instance.

However, it takes several seconds to start the instance and you need to resend the request to the service (which raise the Database connection error) to replay your test.

Will it be an acceptable solution?

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

guillaume blaquiere
guillaume blaquiere

Written by guillaume blaquiere

GDE cloud platform, Group Data Architect @Carrefour, speaker, writer and polyglot developer, Google Cloud platform 3x certified, serverless addict and Go fan.

Responses (1)

Write a response