You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pulumi lexicon: a priced preview for the cost hold #5341
The wave cost hold (holds.cost, terraformCostHold in lexicons/terraform/src/cost-hold.ts) runs a command on {planJson}. The pulumi lexicon has no {planJson} and no preset, so a plywood wave cannot be held on cost (INTENTIUS/plywood#35).
This needs a ruling on the source of prices for a preview: a command the user names that reads the preview JSON, or a priced translation of the preview to a format an existing estimator reads. Record the ruling here before building.
The estimate record the hold and the plan note read is #5334's; this issue makes a pulumi wave produce it.
Acceptance criteria
The ruling, recorded on this issue: a command the user names, see the ruling comment.
A pulumi-up wave exposes its preview JSON as {planJson} to the cost hold.
A pulumiCostHold({ approveAbove, command }) preset beside the terraform one, where command must name {planJson}, with tests on a preview fixture.
The capability is exported with a *_FLOOR constant naming the chant release that carries it, so products can check or pin to it.
Ruling, 2026-11-19: a command the user names reads the preview JSON. A pulumi-up wave exposes its preview JSON as {planJson}, and pulumiCostHold({ approveAbove, command }) takes the command, the same contract as terraformCostHold. The preset ships with no default estimator.
Why: it matches terragucci's cost.command. Infracost reads no Pulumi preview, so a translation into an existing estimator's format would be a project of its own, and nothing stops it being added later as one more command. INTENTIUS/plywood#35 records this as its ruling.
Activity
lex00 commentedon Nov 19, 2026
Ruling, 2026-11-19: a command the user names reads the preview JSON. A pulumi-up wave exposes its preview JSON as
{planJson}, andpulumiCostHold({ approveAbove, command })takes the command, the same contract asterraformCostHold. The preset ships with no default estimator.Why: it matches terragucci's
cost.command. Infracost reads no Pulumi preview, so a translation into an existing estimator's format would be a project of its own, and nothing stops it being added later as one more command. INTENTIUS/plywood#35 records this as its ruling.