TF_VAR_spacelift_final_run_state variable values

Last updated: December 19, 2025

The TF_VAR_spacelift_final_run_state variable mentioned in the stack settings documentation contains the final state of a Spacelift run.

All possible values for TF_VAR_spacelift_final_run_state (which is related to TF_VAR_spacelift_run_state) can be found in the Spacelift environment variables documentation.

This variable is useful when customizing workflows and needing to take different actions based on the final outcome of a run.