Skip to content

pulumi lexicon: a priced preview for the cost hold #5341

Closed

Description

@lex00

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.

Activity

  1. added
    epic:delivery
    on Nov 19, 2026
  2. lex00 commented on Nov 19, 2026

    @lex00
    ContributorAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    epic:delivery

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions