All templates

Automated Terraform Pending Run Chasing

Every morning, WebRun signs into Terraform Cloud, finds runs sitting in a planned or awaiting-confirmation state past your cutoff, creates a Trello card per stuck run with the workspace and the resource changes, and WhatsApps the engineer who queued it so the plan gets approved or discarded.

Runs on WebRun · Strict Lockdown policy
Every day at 9:00 AM WebRunorchestrates each step
1 Terraform Cloud find runs awaiting confirmation
2 Trello card each stuck run
3 WhatsApp chase the engineer who queued it
In short

How do I stop Terraform plans from sitting unapproved?

WebRun checks Terraform Cloud every morning for runs sitting unconfirmed past your cutoff. It creates a Trello card per stuck run showing the workspace and the add, change, and destroy counts, then WhatsApps the engineer who queued it, so plans get applied or discarded before they go stale.

  • Plans get approved or discarded instead of aging out silently
  • Every waiting run has a named owner and a card the same morning
  • Destructive plans surface first, before the state they assume changes

Built for platform engineers · DevOps teams · SRE · infrastructure leads

Step by step

What does WebRun do on every run?

The exact actions WebRun takes, in order - in plain language, so you can adjust anything.

  1. WebRun signs in and gets to work

    Opens app.terraform.io/session in a real browser with your saved login - no setup, no API keys.

  2. 1
    Terraform Cloud - find runs awaiting confirmation
    terraform.io
    WebRun in Terraform Cloud: find runs awaiting confirmation
    WebRun opens Terraform Cloud to find runs awaiting confirmation.
    • Sign into Terraform Cloud and open the runs view for each workspace you track
    • Find runs still planned or awaiting confirmation for longer than your cutoff
    • Capture the workspace, who queued the run, how long it has waited, and the plan's add, change, and destroy counts
    • Flag any waiting plan that would destroy resources, since those age worst
    • Skip runs that have been discarded or superseded by a newer plan

    Done when Every run waiting on a human decision is listed with its age and resource counts.

  3. 2
    Trello - card each stuck run
    trello.com
    WebRun in Trello: card each stuck run
    WebRun opens Trello to card each stuck run.
    • Open your infrastructure board in Trello
    • Create one card per stuck run titled with the workspace and how long it has waited
    • Put the add, change, and destroy counts and the run link in the description
    • Assign the member who queued the run and label anything with destroys as urgent
    • Move a card to Done when a later run shows the plan was applied or discarded

    Done when Each waiting run has an owned Trello card, and resolved ones are closed.

  4. 3
    WhatsApp - chase the engineer who queued it
    whatsapp.com
    WebRun in WhatsApp: chase the engineer who queued it
    WebRun opens WhatsApp to chase the engineer who queued it.
    • Send the engineer who queued the run a short WhatsApp message with the workspace and the wait time
    • Ask a single question: apply, or discard and replan
    • Send yourself the full morning list so you can see what is blocked across all workspaces
    • Never confirm, apply, or discard a run. WebRun reads and chases, and a human clicks apply

    Done when Every waiting run has been chased with its owner.

Run settings

How is each run configured?

Starting pageWhere Chrome opens at the start of each run
app.terraform.io/session
ScheduleRuns automatically on this cadence
Every day at 9:00 AM
DeliveryHow each run's result reaches you
Stuck run chase list · WhatsApp
OutputWhat each run produces - A morning list of Terraform Cloud runs awaiting confirmation, each with the workspace, the queueing engineer, the wait time, and the plan's resource counts.
Text
Setup & safety

Secure by default

Connect once, stays signed in

WebRun signs in once and keeps each session in a persistent environment, so every run picks up right where it left off.

Your credentials stay in your own private environment - WebRun never stores your passwords.
Strict Lockdown

Every action is checked against this policy before it runs.

Domains ALLOWLIST
Typed input ALLOW
Shell command BLOCK
File uploads BLOCK
Runs in a contained environment More on policies
Good to know

Questions, answered

Will it apply or discard a run itself?

Never. WebRun only reads run state and chases the person who queued it. Confirming an apply and discarding a plan both stay with a human, so no infrastructure changes because an automation clicked a button.

How does it know a plan is going stale?

It reads how long each run has sat in a planned or awaiting-confirmation state and compares that against the cutoff you set. Plans that would destroy resources are flagged first, because those are the ones most likely to drift from reality.

Does it chase runs that were already handled?

No. WebRun checks live run state each morning, so anything applied, discarded, or superseded by a newer plan drops off the list and its Trello card is closed.

Put this on autopilot.

Turn it on in minutes - or have our team set it up for you.