Expand description
Typed setup import contract.
alien-core owns the request shape every CloudFormation / Terraform /
Helm generator and every importer (manager-side or agent-side) speaks:
data— typedAws*ImportData/Gcp*ImportData/Azure*ImportDatastructs. Pure data + JsonSchema, camelCase serde. The payload that crosses crate boundaries.request—StackImportRequest/ImportedResource/StackImportResponse/ImportSourceKind. The HTTP request / response types ofPOST /v1/stack/import.context—EmitContext/ImportContext. Pure data passed through to format emitters and to importers respectively.importer—ResourceImporter, the trait every importer implements.
Format-specific traits, registries, and emitters live in their respective format crates:
alien_cloudformation::CfEmitter+CfRegistry(also ownsCfResource/CfExpression).alien_terraform::TfEmitter+TfRegistry(returnshcl::Block/hcl::Expressiondirectly — no intermediate IR).alien_helm::HelmEmitter+HelmRegistry.
Alien’s importers and alien_infra::ImporterRegistry live in
alien-infra, which re-exports ResourceImporter.
This split keeps alien-core lightweight (no format dependencies) and
lets each format crate use its native types without an intermediate IR.
Re-exports§
Modules§
- context
- data
- Typed ImportData payloads by cloud and resource.
- importer
- The importer trait: turns a typed
ImportDatapayload into a runtimeStackResourceState. - request