-
Notifications
You must be signed in to change notification settings - Fork 71
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
Deletion protection #154
Comments
Hi, yes, it is possible to do so by utilizing Terraform Example:
Ivan |
Hi Ivan, Terraform has a problem that We host one of our most crucial databases on Aiven. I want a to find a way to configure it so that Terraform cannot destroy it for any reason — i.e. that destruction, if required, needs manual intervention. As context, our organisation has had disasters caused by Terraform's deletion and recreation of resources in the past and so are rightfully wary of taking up Terraform in the present. I want to put safety barriers in place so that we can safely adopt it once more. |
Hi, Unfortunately, I cannot offer anything better than using Ivan |
Well, I was wrong and did some experiments, it is possible to prevent the deletion of a resource. We will create a separate resource field, and if it is set to the true resource would be impossible to delete via terraform but of course, can be removed via UI. Or perhaps we can enable this logic based on |
@ivan-savciuc That's really great news. Thank you! |
@steshaw we did some tests and |
I like the idea of the
termination_protection
for services, but since this cannot prevent disasters for production services, I was wondering if there's a way to enable deletion protection for resources such as databases, topics, etc.The text was updated successfully, but these errors were encountered: