What it enables

Adopt what you already have

You have a CloudFormation template or a Kubernetes namespace and want it as TypeScript. chant import writes the source. YAML does not say whether a string is plain text or a reference to another resource, so the importer decides for each value. Build the source again and you should get the original back.

chant measured how often that happens on public samples, comparing after sorting keys:

TargetInputsByte-identicalDifferFailed before the comparison
Kubernetes221921
CloudFormation200317

chant’s import page lists every input, the reason each one failed and the command that repeats the run.

The limit

The CloudFormation result is poor. Most templates fail before there is anything to compare. The three that build lose fields along the way. Both rows are 42 public samples measured once at chant 0.108.1, and say nothing yet about your estate.

The rule is F-Val-Source in values.md.