You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: It is strongly recommended to set lifecycle { prevent_destroy = true } on instances in order to prevent accidental data loss. See Terraform docs for more information on lifecycle parameters.
The text was updated successfully, but these errors were encountered:
The reason I haven't worked on this is because I was worried that declaring a prevent_destroy for a test instance, could seem redundant. I want to avoid warnings for code that works correctly as much as possible.
However, I agree that it is good practice to always declare prevent_destroy so that it can be explicitly declared whether it is for testing that may be deleted or data that should not be deleted.
See https://www.terraform.io/docs/providers/google/r/bigtable_instance.html
The text was updated successfully, but these errors were encountered: