@go-to-k/cdkd 0.168.0 → 0.169.1

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
@@ -190,10 +190,12 @@ cdkd drift MyStack --revert --yes # AWS ← state
190
190
  # Asset / destroy / unlock
191
191
  cdkd publish-assets # synth + upload only (typical CI split)
192
192
  cdkd destroy MyStack
193
+ cdkd orphan MyStack/MyBucket # drop one resource from state (AWS resource stays)
193
194
  cdkd force-unlock MyStack # clear stale lock from an interrupted deploy
194
195
 
195
- # Adopt existing AWS resources into cdkd state
196
- cdkd import MyStack --yes
196
+ # Migrate between cdkd and CloudFormation
197
+ cdkd import MyStack --yes # adopt existing AWS resources into cdkd state
198
+ cdkd export MyStack # hand a cdkd-managed stack back to CloudFormation
197
199
 
198
200
  # State-bucket-only commands (no CDK app needed)
199
201
  cdkd state info # bucket name, region, schema version
@@ -264,6 +266,11 @@ bind-mounted at `/opt`.
264
266
  cdkd local start-api # one HTTP server per discovered API
265
267
  cdkd local start-api MyStack/MyHttpApi --watch # filter + hot reload
266
268
  cdkd local start-api --from-state # OR --from-cfn-stack
269
+
270
+ # Typical shape — the bare `--from-cfn-stack` flag auto-resolves to the
271
+ # routed stack's name (here `MyStack`). Pass an explicit value only when
272
+ # the deployed CFn stack name differs from the CDK stack name.
273
+ cdkd local start-api MyStack/MyHttpApi --from-cfn-stack
267
274
  ```
268
275
 
269
276
  REST v1 + HTTP API v2 + Function URL with all integration kinds