Skip to content

Hybrid Execution Migration Guide

Move an existing Terraform/OpenTofu-managed deployment to netherframe-managed hybrid execution. The main change is which engine owns planning, apply and state.

Switch a deployment to hybrid execution

  1. Keep the current app and resource identities. If your source is HCL, convert it to Python and review the converter's report. See the conversion tutorial.
  2. Configure a state backend for the app and register it in [tool.nf].hybrid_apps.
  3. Use an adoption manifest or explicit import requests to map existing objects to the app. Review the imports and any other changes in the saved plan before applying it with nf.
  4. Check convergence in a fresh plan. At cutover, use the new app and backend as the writer for the adopted resources.

An app selector chooses the execution path. Adoption establishes which live objects the new state manages. See adopting existing infrastructure.