Skip to content

Add scheduled pipeline job to remove old TF states

Timo Furrer requested to merge remove-old-states into master

As discussed in other issues it makes sense to remove old Terraform states which have been created during testing.

This change set adds a job which can run in a scheduled pipeline and removes states older than one week - it's configurable.

The job uses two scripts which can be used to individually (especially locally) fetch and remove states.

Merge request reports

Loading