Skip to content
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

lifecycle option for cluster_instance #422

Closed
Souher0 opened this issue Jan 7, 2024 · 3 comments
Closed

lifecycle option for cluster_instance #422

Souher0 opened this issue Jan 7, 2024 · 3 comments

Comments

@Souher0
Copy link

Souher0 commented Jan 7, 2024

Is your request related to a problem? Please describe.

I want to be able to add the lifecycle behavior below to increase db instance deletion protection:
lifecycle {
prevent_destroy = true
}

Describe the solution you'd like.

Lifecycle variable added

@bryantbiggs
Copy link
Member

That's not going to be possible, lifecycle blocks do not support variables and we can't force that on everyone. You'll need to protect your Terraform provisioning process instead

@Souher0
Copy link
Author

Souher0 commented Jan 11, 2024

Understandable, thanks for the reply

@Souher0 Souher0 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 11, 2024
Copy link

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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants