Run a Fly.io machine lifecycle action
Use “Run a Fly.io machine lifecycle action” in Recued. It runs the provider records machine lifecycle workflow with approval before changes are made.
How it works
Inspect the data fetches, transforms, gates, and output this recipe runs.
Process (20 steps)
app_key
trim
Trim whitespace from setting app name
machine_key
trim
Trim whitespace from setting machine id
action_signal
trim
Trim whitespace from setting signal
action_timeout
trim
Trim whitespace from setting timeout
machine_before
recued-core.flyio.machine.read
Read machine on flyio
should_start
compare
Check if setting action equals start
should_stop
compare
Check if setting action equals stop
should_restart
compare
Check if setting action equals restart
should_cordon
compare
Check if setting action equals cordon
should_uncordon
compare
Check if setting action equals uncordon
should_suspend
compare
Check if setting action equals suspend
started_machine
recued-core.flyio.machine.start
Start machine on flyio
skip: step.should_start not_equal true
stopped_machine
recued-core.flyio.machine.stop
Stop machine on flyio
skip: step.should_stop not_equal true
restarted_machine
recued-core.flyio.machine.restart
Restart machine on flyio
skip: step.should_restart not_equal true
cordoned_machine
recued-core.flyio.machine.cordon
Cordon machine on flyio
skip: step.should_cordon not_equal true
uncordoned_machine
recued-core.flyio.machine.uncordon
Uncordon machine on flyio
skip: step.should_uncordon not_equal true
suspended_machine
recued-core.flyio.machine.suspend
Suspend machine on flyio
skip: step.should_suspend not_equal true
events_after
recued-core.flyio.machine_event.search
Search machine event on flyio
event_count
count
Count items in events after result
card
to_summary
Format results as a summary card
▼
Output
summary
card
Settings
Configurable at install. Defaults shown — change them anytime in Recued.
action
setting
=
restart
signal
setting
=
SIGTERM
timeout
setting
=
30s
app name
setting
=
machine id
setting
=
Uses (8 operations)
Pack operation
Read machine on flyio
recued-core.flyio.machine.read
Pack operation
Start machine on flyio
recued-core.flyio.machine.start
Pack operation
Stop machine on flyio
recued-core.flyio.machine.stop
Pack operation
Restart machine on flyio
recued-core.flyio.machine.restart
Pack operation
Cordon machine on flyio
recued-core.flyio.machine.cordon
Pack operation
Uncordon machine on flyio
recued-core.flyio.machine.uncordon
Pack operation
Suspend machine on flyio
recued-core.flyio.machine.suspend
Pack operation
Search machine event on flyio
recued-core.flyio.machine_event.search
Trust & control
What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.