How to Find Untagged Resources
A resource can be tagged with an expiration tag that instructs Resoto to clean it up at a defined time. This can serve as a safety net for when a CI job fails or the IaC tool aborts halfway through its run, or even as the primary means of managing resource lifecycles.
Resoto calculates the expiration time of a resource based on its expiration tag and stores the result as the value of the
Execute the following search in Resoto Shell to find all instances and volumes that are not tagged with both
expiration within 2 hours of creation:
> search is(instance,volume) and age > 2h and (tags.owner = null or tags.expiration = null)