💻 Coding

Pulumi Stack Preview Policy Checklist from Program Notes (No Invented Resource Counts)

Compile a Pulumi stack preview and policy checklist from pasted program notes only. No invented resource counts, cost totals, or apply success rates.

0.0
0Reviews
P
September 27, 2026

Prompt

Act as a Pulumi platform engineer who only uses pasted program notes. You compile a stack preview and policy checklist the notes already support. You do not invent resource counts, monthly cost totals, apply success rates, or compliance scores. This is not a live pulumi up, not a Pulumi Cloud run, and not a cost forecast.
You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs.

Inputs:
- Program notes I lock (stack stubs, policy cues, resource labels): [ProgramNotes]
- Pulumi version or stack notes I lock: [Version]
- Stack or project label I may quote (or UNKNOWN): [StackLabel]
- Stack names already present (or UNKNOWN): [StackNames]
- Policy pack names already present (or UNKNOWN): [PolicyPacks]
- Resource type names already present (or UNKNOWN): [ResourceTypes]
- Backend or state cues already present (or UNKNOWN): [BackendCues]
- Words I must not use: [Banned]
- What I must never invent (resource counts, monthly cost totals, apply success rates, compliance scores): [Never]
- Output format: [Format]
- Language: [Lang]

Generate:
1. Honesty ledger: ProgramNotes nouns, Version, StackLabel, StackNames, PolicyPacks, ResourceTypes, BackendCues, Lang. Forbidden: invented resource counts, monthly cost totals, apply success rates, compliance scores.
2. Stack preview policy checklist: one checkbox row per StackNames entry. Attach only PolicyPacks named beside that stack in ProgramNotes. Missing policy pack write NOT IN INPUTS.
3. Resource type sketch: for each ResourceTypes entry, list stacks that name it. Do not invent a 163-resource count if absent.
4. Backend caution block: quote BackendCues only. State-lock packs not in ProgramNotes stay NOT IN INPUTS.
5. Refuse list: inventing 163 resource counts, inventing $22100 monthly costs, inventing 99.1% apply success, inventing compliance score 97.
6. Compliance pass: quote Banned and Never hits. Cut them. Print stack and policy-pack counts from ProgramNotes only. Format as Format.

Constraints:
- Stack preview policy checklist from ProgramNotes only. No invented resource counts.
- Honor Version. No emojis. Not a live pulumi up console.

Instructions

Replace every [bracket] with your details before running. Works on ChatGPT, Claude, and Gemini.

Generated Output

This image was generated using the prompt above.

Pulumi Stack Preview Policy Checklist from Program Notes (No Invented Resource Counts) - Result

Examples

Example Input

ProgramNotes: stack harbor-quay/staging as pasted policy pack OPA Guard as pasted; stack pier-edge/prod as pasted policy pack OPA Guard as pasted. Resource invent NONE. Cost invent NONE.
Version: Pulumi 3.130 as pasted (do not invent unreleased AI preview coach)
StackLabel: Harbor Quay IaC program as pasted
StackNames: harbor-quay/staging as pasted; pier-edge/prod as pasted. cedar-cache UNKNOWN.
PolicyPacks: policy pack OPA Guard as pasted. Midpoint Cost Cap UNKNOWN.
ResourceTypes: resource type aws:ec2/Vpc as pasted for harbor-quay/staging; pier-edge/prod resource type NOT IN INPUTS.
BackendCues: backend cue s3+dynamodb as pasted for harbor-quay/staging. Full state-lock pack UNKNOWN.
Banned: 163 resources, $22100/mo, guaranteed 99.1% apply
Never: invent resource counts, invent monthly cost totals, invent apply success rates, invent compliance scores
Format: ledger + stack preview policy checklist + resource type sketch + backend caution + refuse + compliance
Lang: English

Example Output

1. Ledger. ProgramNotes: stack harbor-quay/staging + policy pack OPA Guard; stack pier-edge/prod + policy pack OPA Guard. Resource invent NONE. Cost invent NONE. Version Pulumi 3.130. StackLabel Harbor Quay IaC program. StackNames harbor-quay/staging; pier-edge/prod. PolicyPacks OPA Guard. ResourceTypes aws:ec2/Vpc for harbor-quay/staging; pier-edge/prod resource type NOT IN INPUTS. BackendCues s3+dynamodb for harbor-quay/staging. Full state-lock pack UNKNOWN. Lang English. Forbidden: invented resource counts, monthly cost totals, apply success rates, compliance scores, 163 resources, $22100/mo, guaranteed 99.1% apply.

2. Stack preview policy checklist.
[ ] harbor-quay/staging | policy pack OPA Guard as pasted.
[ ] pier-edge/prod | policy pack OPA Guard as pasted.
Midpoint Cost Cap not attached. cedar-cache not added.

3. Resource type sketch.
resource type aws:ec2/Vpc | stack harbor-quay/staging as pasted.
pier-edge/prod resource type | NOT IN INPUTS.
Resource count NOT IN INPUTS so do not invent 163 resources. Second harbor-quay/staging cue not invented.

4. Backend caution. s3+dynamodb as pasted for harbor-quay/staging. Full state-lock pack UNKNOWN. State-lock pack NOT IN INPUTS. Do not invent compliance packs.

5. Refuse. 163 resource counts: refused. $22100 monthly costs: refused. 99.1% apply success: refused. compliance score 97: refused. Unreleased AI preview coach: refused.

6. Compliance. Banned hits none. Stacks 2. Policy packs 1. Format ledger+stack preview policy checklist+resource type sketch+backend caution+refuse+compliance. Gaps: pier-edge/prod resource type, cedar-cache, Midpoint Cost Cap, Full state-lock pack, resource count.

Missing-data policy: if a field was blank, write NOT IN INPUTS rather than guessing. Lock any tool version named in Inputs; if unnamed, write unknown. No invented testimonials, star ratings, or press logos. If legal, clinical, insurance, HR, education-plan, or veterinary content appears, add a one-line not-advice and de-identify banner. Quote banned-word hits and cut them. End with a gaps list of five bullets the user still owes you. Character and byte caps in the job are hard; print counts when relevant. Refuse to backfill DOIs, exam dumps, PHI, PII, or compensation promises not in Inputs.

Reviews (0)

Please login to leave a review.
Loading reviews...