Add Plan Instance Termination Protection
jasonmimick opened this issue · comments
Jason Mimick commented
We should add a bool
for EnablePlanTerminationProtection
and add this as a field to Plan
(or similar)
The field in Plan should support a default value, which can some from an env variable ATLAS_BROKER_ENABLE_PLAN_TERMINATION_PROTECTION
default is false
.
Then if the termination protection is enabled, then when deleting a plan we should:
- Stop the cluster (if any)
- Deactivate user (is this possible)
- Deactivate apikey (if possible)
- Tag the project as "deleted" or something.
then log all this, but really delete the service instance and don't fail the /deprovision
broker call
@vasilevp - please review this and provide any feedback.
Originally posted by @jasonmimick in #17 (comment)
Jason Mimick commented
This is out of scope for current beta.
Closing issue.