{% if workflow %}

This run is decided through its approval workflow.

Open the approval workflow {% elif can_decide %}

Applying writes this plan to {{ object.flow.target }}. Before it writes, the plan is checked against the target again. If the target changed, nothing is written.

{% csrf_token %}
{% csrf_token %}
{% elif decide_reason %} {{ decide_reason }} {% elif can_resume %}

The apply stopped partway. Resuming re-runs the approved plan and skips what already landed.

{% csrf_token %}
{% elif busy %} Working. This page reloads until the run settles. {% elif object.status == "stale" %}
Nothing was written. The target changed after this plan was made, so applying it would have overwritten a change nobody reviewed.
{% elif object.status == "drifted" %} A drift report is never applied. Plan to bring the target back to the inventory. {% elif object.status == "applied" %} Applied. {% elif object.status == "no_changes" %} The target already matches the inventory. {% else %} Nothing to decide. {% endif %} {% if object.error and object.status != "stale" %}
{{ object.error }}
{% endif %} {% if can_plan_again %}
{% csrf_token %}
{% endif %}