Skip to main content
Version: 3.5.1

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 metadata.expires property.


This guide assumes that you have already installed and configured Resoto to collect your cloud resources.


Execute the following search in Resoto Shell to find all instances and volumes that are not tagged with both owner and expiration within 2 hours of creation:

> search is(instance,volume) and age > 2h and (tags.owner = null or tags.expiration = null)

Further Reading

Contact Us




Some Engineering Inc.