I’m trying to customize the retirement function.
What the customer wants:
The user retires a VM. It starts the retirement and sets the VM to “retired”.
After 3 days, the VM should be auto-deleted.
I’ve tried to customize the retire function and disabled the “delete” action. Additionaly, I’ve created a custom policy/action, where a VM should be deleted, if the retire state is longer than 3days.
Unfortunately this is not working.
Has anyone a better idea or best practice solution?