pub fn project_component(
raw: &RawComponent,
component_id: ComponentId,
out_diagnostics: &mut Vec<Diagnostic>,
) -> ComponentExpand description
Project a RawComponent into a fully-typed Component.
component_id is assigned by the orchestrator (1-based, per
ComponentId). The returned Component carries an empty
terragrunt field (populated in Phase 6) and state_backend = None
until either the terraform { backend ... } block extractor or the
Terragrunt resolver fills it.
Diagnostics surfaced by the projection (malformed addresses, unsupported
shapes) are appended to out_diagnostics.