Built-In Templates and Rendering

Choose between the built-in report layouts and rely on the pure C# rendering engine for the rest.

all providers

tfplan2md now provides built-in `default` and `summary` report modes powered by a pure C# rendering engine. Custom Scriban template files are no longer supported.

Using the Built-In Modes

Command
# Full report with grouped resources, outputs, and details
tfplan2md plan.json --template default

# Compact overview for notifications and quick triage
tfplan2md plan.json --template summary

What Changed

  • Pure C# rendering: Rendering logic now lives in statically typed renderer classes instead of runtime template files.
  • Built-in modes only: `default` and `summary` remain the supported user-facing layouts.
  • Provider-specific renderers: Complex resources still get specialized output, but it is implemented directly in the codebase.
  • Main CLI footprint: The main tfplan2md executable now runs with zero third-party runtime dependencies.

Why It Matters

Benefits
- Compile-time checked rendering changes
- No runtime template resolution failures
- Cleaner NativeAOT output and smaller shipping artifacts
- Simpler provider-specific rendering for complex resources

Learn More

tfplan2md includes built-in templates and resource-specific renderers, but user-provided template files are no longer part of the supported surface area.