terraform-google-bigquery icon indicating copy to clipboard operation
terraform-google-bigquery copied to clipboard

new attribute deletion_protection

Open SergiiGlad opened this issue 3 years ago • 2 comments

On newer versions of the provider, you must explicitly set deletion_protection=false in order to destroy an instance. google_bigquery_table resources now cannot be destroyed unless deletion_protection = false is set in state for the resource. Current version module hasn't had attribute deletion_protection

SergiiGlad avatar Mar 02 '21 18:03 SergiiGlad

We should expose a variable deletion_protection with a default of true.

morgante avatar Mar 02 '21 18:03 morgante

Sure, Terraform plan has deletion_protection = true but It would be nice to have such input value deletion_protection and be able to change.

SergiiGlad avatar Mar 02 '21 21:03 SergiiGlad