Skip to main content

Resoto Expired Resource Cleanup Plugin

Project description

resoto-plugin-cleanup-expired

Resoto plugin for cleanup of expired resources

This plugin looks for resources with the tags expiration or resoto:expires and flags them for cleanup if they are expired.

Tag format

Tag Format Description
resoto:expires 2019-09-05T10:40:11+00:00 ISO 8601 Timestamp
expiration 24h A timedelta relative to the resource's creation time

Example of valid units for the expiration tag:

weeks
days
hours
minutes

Each of them can be abbreviated down to one letter. E.g. 7d, 24h, 60m, etc. A space in between the numeric and the unit is optional, meaning 7d and 7 days are equivalent.

Usage

In resh execute

> config edit resoto.worker

and find the following section

plugin_cleanup_expired:
  # Enable plugin?
  enabled: false

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

resoto-plugin-cleanup-expired-3.7.0.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page