@go-to-k/cdkd 0.157.0 → 0.158.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
@@ -459,14 +459,20 @@ IDs into intrinsic-valued properties (`Ref` / `Fn::GetAtt` / `Fn::Sub` /
459
459
  via STS, AND `Fn::ImportValue` / `Fn::GetStackOutput` against the
460
460
  persistent exports index for cross-stack references — same-account /
461
461
  same-region); without it, intrinsic values are dropped with a per-key
462
- warning (matches `sam local *` semantics).
462
+ warning (matches `sam local *` semantics). For CDK apps deployed via
463
+ the upstream CDK CLI (`cdk deploy` → CloudFormation), pass
464
+ `--from-cfn-stack [<cfn-stack-name>]` instead: cdkd reads the deployed
465
+ CFn stack via `DescribeStackResources` + `ListExports` and substitutes
466
+ `Ref` / `Fn::ImportValue` against the same code path (`Fn::GetAtt` is
467
+ warn-and-dropped in v1). Mutually exclusive with `--from-state`.
463
468
 
464
469
  ### `local invoke`
465
470
 
466
471
  ```bash
467
- cdkd local invoke MyStack/MyApi/Handler # one-shot invoke
472
+ cdkd local invoke MyStack/MyApi/Handler # one-shot invoke
468
473
  cdkd local invoke MyStack/Handler --event events/get.json
469
- cdkd local invoke MyStack/Handler --from-state # recover deployed env vars
474
+ cdkd local invoke MyStack/Handler --from-state # cdkd-deployed: recover deployed env vars
475
+ cdkd local invoke MyStack/Handler --from-cfn-stack # cdk-deployed (CFn): same flow via DescribeStackResources
470
476
  ```
471
477
 
472
478
  Supports every current AWS Lambda runtime (Node.js / Python / Ruby /