コンテンツにスキップ

deploy 専用ファイル

deploy ブロックだけを持つファイル。

GitHub でソースを見る · アプリで開く

Deploy ビュー
Deploy ビュー
deploy-only/index.krs
// Minimal example: a .krs file with only a deploy block (no system).
// Used to demonstrate that the preview auto-selects the Deploy tab
// when the file has no system block (Issue #766).
deploy Production {
label "本番環境"
oci "web" {
label "Web フロント"
image "web:1.0.0"
runtime "Node.js 22 / Next.js"
realizes Storefront
}
lambda "order-handler" {
label "注文ハンドラ"
runtime "Node.js 22"
realizes OrderAPI
}
assets "static-assets" {
label "静的アセット"
runtime "CloudFront / S3"
}
}

© 2026 Hiroki Kondo · Licensed under Apache-2.0