Skip to main content

Resource Expiration

Fix Inventory calculates the expiration time of a resource based on its expiration tag and stores the result as the value of the metadata.expires property.

Cleanup can be performed using the cleanup-expired infrastructure app.

Supported Expiration Tags​

A resource's expiration time can be defined either with an ISO 8601 timestamp or time delta:

Tag NameDescriptionExample
fix:expiresISO 8601 timestamp2022-09-21T10:40:11+00:00
fix:expiration or expirationTime delta from resource creation time24h

Time deltas can be specified in the following units:

UnitAbbreviations
yearsyear, yr, y
monthsmonth, mo, M
daysday, d
weeksweek, w
hourshour, h
minutesminute, min, m
secondssecond, s

Spaces within time delta strings are optional (e.g., 7d4h and 7 days 4 hours are equivalent).