@go-to-k/cdkd 0.69.0 → 0.70.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
@@ -585,6 +585,16 @@ Requires Docker. v1 supports Node.js and Python runtimes (`nodejs18.x` /
585
585
  `nodejs20.x` / `nodejs22.x` / `python3.11` / `python3.12` / `python3.13`);
586
586
  other runtimes follow in subsequent PRs.
587
587
 
588
+ **Container Lambdas (PR 5 of #224)** — `lambda.DockerImageFunction(...)` /
589
+ `Code.ImageUri` is supported alongside ZIP Lambdas. cdkd reads the
590
+ function's local `Dockerfile` from `cdk.out` and runs `docker build`
591
+ locally before invoking. When no asset matches (typically: invoking a
592
+ stack deployed elsewhere), cdkd falls back to `docker pull` from
593
+ ECR — same-account / same-region only in v1; cross-account /
594
+ cross-region is deferred to a follow-up PR. `Architectures: [x86_64]` /
595
+ `[arm64]` are honored via `--platform` so an arm64 host running an
596
+ x86_64 Lambda doesn't hit emulation.
597
+
588
598
  ```bash
589
599
  # Invoke by CDK display path (single-stack apps may omit the prefix)
590
600
  cdkd local invoke MyStack/MyApi/Handler