What:

Delete application at some point of time in the future.

Why:

Creating application by API is easy. But with big teams and a lot of applications created for test purposes it will be harder to control them and therefore control costs. Currently we need to introduce external schedule to check applications and remove them in case of conditions met.

Proposal:

Create a property e.g., deleteAt - date or deleteAfter - number of days after which inactive application (no deployments) should be deleted. Additionally it should be possible to set notificationEmail which will notify some days in advance, probably 7d before and then 1day before - to make user possible to prevent deletion.

·

A scheduled_deletion_at field has been added to the Infrastructure endpoint: https://ploi.cloud/docs/api#/operations/infrastructure.apply An email is sent 1 day and 7 days before that (Note: This will not always happen when we are sub 1 day in time.). A clear notification is shown in the UI and the date can be changed there.

We on purpose do not expose this field in the UI when it has not been set to prevent accidental deletions.

no votes yet

IaC: add option to auto-delete application after some period of time

1 total vote
Quick Actions
Activity
View recent activity and updates
Use arrow keys to navigate