Time To Live (TTL)

Time-to-live is the amount of time before env0 automatically destroys the environment (if it is Active).

When users create or redeploy an environment they can set the environment's time-to-live. TTL Policies define the default and maximum time-to-live values for environment.
Those TTL limits do not apply to admins.
Administrators can set the policies on Organization or Project level.


The Maximum TTL limit, is relative to the creation time of the environment and not to the time of any deployment.


TTL policies on the Organization level

On the Project level you can choose to use the settings from organization, or to override them.


TTL policies on Project level


An infinite time-to-live means the environment will never be destroyed automatically. This is useful for static environments like staging or production, but is not recommended for development environments.