-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cloud Spanner resources could document the lifecycle argument #6898
Cloud Spanner resources could document the lifecycle argument #6898
Comments
@rakyll below is the API that is behind the resource. Which attribute do you refer to? |
@edwardmedia, sorry that I was not specific enough. I was wondering if we can suggest the following Terraform's prevent_destroy for Cloud Spanner resources as well?
An example from BigTable:
|
@rakyll https://www.terraform.io/docs/configuration/resources.html#lifecycle-lifecycle-customizations |
It works as expected, we should document it as a good practice the way BigTable does. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks! |
Similar to https://www.terraform.io/docs/providers/google/r/bigtable_table.html, google_spanner_instance and google_spanner_database could document the availability of the lifecycle argument to prevent accidental destructions.
The text was updated successfully, but these errors were encountered: