This plugin deletes cloud resources that are missing mandatory tags after a certain amount of time has passed since their creation.
> config edit resoto.worker
and find the following section
# Configuration for the plugin
name: 'Example Account'
# Enable plugin?
Config section format
The config section consists of four sub-sections.
default section specifies the default
age a resource must have before we enforce mandatory tags on it. For instance if
age is set to
2h this means that whatever mechanism creates a resource has two hours to add those mandatory tags.
tags section is a list of tag names that MUST exist on every resource class specified in
classes section is a list of resource class names for which tags specified in the
tags list must exist.
accounts section contains a dictionary with cloud IDs as keys (e.g.
aws) and account IDs for which tags will be enforced as values (e.g.
068564737731). Those in turn contain a
name and optionally an
The following age units are valid:
Each of them can be abbreviated down to one letter. E.g.
60m, etc. A space in between the numeric and the unit is optional, meaning
7 days are equivalent.