Start / Stop SQL-instances from Google Cloud Functions
It would be nice to be able to start / stop sql-instances in cloud-sql in a similar way like in compute-engine.
As they should even be based on compute engine, it feels really uncommon that an aggregatedList of compute engine resources does not list the cloud-sql instances and that they are not accessible in the same way.
We are using Cloud-Scheduler with PubSub and Cloud Functions to start/stop VMs and also want to start/stop our Cloud-SQL instances on a scheduled basis.
script is available but dnt knw how to use
i tried putting my db instance name and project deployed cloudfunction with pubsub topic
when iam testing fuction following error iam getting
Error: function terminated. Recommended action: inspect logs for termination reason. Details:
hello_world() takes 1 positional argument but 2 were given