33 lines
1 KiB
Text
33 lines
1 KiB
Text
|
|
# <mode-id> cabling — bindings for this workspace.
|
||
|
|
# Auto-scaffolded by `prvng integration subscribe`. Edit each binding to
|
||
|
|
# resolve the placeholders against your workspace's values, secrets, manifest.
|
||
|
|
|
||
|
|
let mode = import "<path-to-pulled-mode>/provisioning.ncl" in
|
||
|
|
|
||
|
|
{
|
||
|
|
mode_id = mode.id,
|
||
|
|
|
||
|
|
# One binding per domain in mode.domains_used. The shape MUST match the
|
||
|
|
# corresponding contract.ncl::<DomainName>Context. Run
|
||
|
|
# prvng integration validate <mode-id> --workspace-dir .
|
||
|
|
# to confirm every field resolves and typechecks.
|
||
|
|
bindings = {
|
||
|
|
|
||
|
|
"secret-delivery" = {
|
||
|
|
schema_version = "0.1.0",
|
||
|
|
workspace = "<your-workspace-slug>",
|
||
|
|
mode_id = mode.id,
|
||
|
|
# ── Domain-specific fields below — see the secret-delivery contract ──
|
||
|
|
# secrets = [...]
|
||
|
|
},
|
||
|
|
|
||
|
|
"<other-domain-id>" = {
|
||
|
|
schema_version = "0.1.0",
|
||
|
|
workspace = "<your-workspace-slug>",
|
||
|
|
mode_id = mode.id,
|
||
|
|
# ── Fill in per the domain's contract.ncl ──
|
||
|
|
},
|
||
|
|
|
||
|
|
},
|
||
|
|
}
|