Skip to main content

After-run hooks

Based on customer feedback, we are introducing a mechanism to set up hooks that will execute after each actively processed run, regardless of its outcome. After-run hooks will execute as part of the last "active" state of the run and will have access to an environment variable called TF_VAR_spacelift_final_run_state indicating the final state of the run.

The new hook type is now supported through the API, the GUI and the Terraform provider.

Learn more about custom hooks

New