Good morning,
I was beggining to work with Terraform and Google Cloud to deploy my envinrolment.
It works fine for almost resources, like: networking, gke, iam, secrets, dns, security etc.
But, when I try to deploy a Cloud SQL (google_sql_database_instance), it deploy in first time and always that I plan and apply new features and resources, it want to replaced my Cloud SQL.
My question is: it is possible to prevent that error message (I search in Google and don’t find nothing)?
Error message: Error: Error, failed to delete instance because deletion_protection is set to true. Set it to false to proceed with instance deletion
I don’t want to delete then, I want to prevent this message always that I plan and apply.
Thanks a lot!