Skip to content
Praxis is in alpha. The supported API is praxis.io/alpha, and the contract can change while Praxis is in alpha.About the alpha contract

Import existing resources

Import creates Praxis state for an AWS resource that already exists. It does not recreate the external resource.

  • Managed import adopts the current resource and lets future desired state and reconciliation change it.
  • Observed import tracks status and drift but does not write corrective changes.

Use observed mode first when ownership is unclear or another system may still manage the resource.

Terminal window
praxis import VPC \
--id vpc-0123456789abcdef0 \
--account prod \
--region us-west-2 \
--observe

The exact provider identifier depends on the resource kind. Region-scoped resources require a region. Composite resources may use more than one provider identity component.

After import:

Terminal window
praxis get VPC/us-west-2~vpc-0123456789abcdef0
praxis reconcile VPC/us-west-2~vpc-0123456789abcdef0

Import persists a driver resource with status, outputs, conditions, and future reconciliation. A data source performs an ephemeral read during template evaluation and disappears after returning outputs.