Hybrid Execution Overview
This page is the technical overview for netherframe's hybrid execution path.
Summary
Hybrid execution lets netherframe plan and apply changes by talking directly to Terraform providers over tfplugin6/gRPC instead of going through the standard synthesized Terraform workflow.
The current entry point is:
from nf.core import App
app = App(nf_id="demo")
hybrid = app.enable_hybrid_execution()
From there, the common operations are:
def deploy_and_destroy() -> None:
plan = hybrid.plan()
result = hybrid.apply(auto_approve=True)
hybrid.destroy(auto_approve=True)
Key Pieces
App.enable_hybrid_execution(): attach hybrid execution to an app- provider protocol client: manages tfplugin6 calls to provider binaries
- state engine: stores and refreshes hybrid execution state
- orchestrator: schedules resource operations with dependency awareness
What To Read Next
- Hybrid Execution: user-facing overview
- Provider Protocol: protocol and lifecycle details
- Hybrid execution migration guide for moving an existing Terraform/OpenTofu deployment to hybrid execution.