limited-rainbow-51650
03/01/2021, 9:19 AMdestroy
, our proxy isn’t even started, so the deletion of the mysql.Grants
doesn’t happen.gentle-diamond-70147
03/02/2021, 12:47 AMdestroy
, only your state file is acted on, so I don't believe you can use cloud_sql_proxy
in this manner.
However the Automation API would allow you to do this easily. You would do something essentially like this: