@go-to-k/cdkd 0.123.0 → 0.125.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -552,11 +552,14 @@ adopt nor recreate them).
552
552
  cdkd export MyStack # confirmation prompt; CFn stack name = cdkd stack name
553
553
  cdkd export MyStack --cfn-stack-name MyStack-CFn
554
554
  cdkd export MyStack --dry-run # print the import plan, do not call CFn
555
- cdkd export MyStack --template path.json # skip synth, use a pre-rendered JSON template
555
+ cdkd export MyStack --template path.json # skip synth, use a pre-rendered template (JSON or YAML — format auto-detected)
556
556
  cdkd export MyStack --include-non-importable # 2-phase: IMPORT importable + CFn-CREATE Custom Resources
557
557
  ```
558
558
 
559
- MVP scope: JSON templates only (CDK-generated).
559
+ Accepts JSON and YAML templates. YAML round-trips through a CFn-aware codec
560
+ (`src/cli/yaml-cfn.ts`) that preserves every shorthand intrinsic (`!Ref` /
561
+ `!GetAtt` / `!Sub` / `!Join` / etc.), so a YAML-authored CFn stack stays YAML
562
+ on the phase-1 IMPORT and phase-2 UPDATE changesets.
560
563
 
561
564
  ## Drift detection
562
565