chris32g / Google-Cloud-Support

10 stars 7 forks source link

Database configurations lost #1

Open epif4nio opened 4 years ago

epif4nio commented 4 years ago

When you call service.instances().update() to turn on/off a Cloud SQL instance, some configurations are lost (backup management, labels, connections, ...).

Instead you should use the service.instances().patch() method. That worked for me.

PS: thanks for your code samples.

Relevant files:

chris32g commented 4 years ago

Thanks for the update! I will give it a try and change the code!