examples/python/functions/machine_function_composition to
show Machines and Functions working together in one workflow:
- create a customer
Machine - invoke a deployed
Functionfrom inside that machine over the public API - retain a failed Function run and connect to its backing machine for debugging
Setup
Run
function.py, creates a customer machine, runs a DNS check
inside the machine, invokes the Function from that machine, then starts a
retained failing run and connects to the retained machine with
Function.connect_machine(...).
Expected output includes:
finally cleanup.