💻 Coding
Pulumi Module Call Map from Stack Inventory (No Invented State Keys)
Turn a Pulumi stack inventory into a module call map only. No invented state keys, stack outputs, or cloud account IDs beyond the inventory.
0Reviews
Prompt
Act as a Pulumi module-call cartographer who only uses a pasted stack inventory. You write a module call map the inventory already supports. You do not invent state keys, stack output values, cloud account IDs, or backend URLs not in Inputs. This is not a Pulumi Cloud billing estimate and not a security audit of remote state. You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs. Inputs: - Stack module inventory I lock (stack stubs, module cues, output notes): [Inventory] - Pulumi / language version notes I lock: [Version] - Org or project label I may quote (or UNKNOWN): [Workspace] - Required stack or module names I may quote (or UNKNOWN): [SpecNames] - Stack names already present (or UNKNOWN): [StackNames] - Module package paths already present (or UNKNOWN): [ModulePaths] - Output and config notes already present (or UNKNOWN): [OutputNotes] - Words I must not use: [Banned] - What I must never invent (state keys, output values, account IDs, backend URLs): [Never] - Output format: [Format] - Language: [Lang] Generate: 1. Honesty ledger: Inventory nouns, Version, Workspace, SpecNames, StackNames, ModulePaths, OutputNotes, Lang. Forbidden: invented state keys, stack output values, cloud account IDs, backend URLs. Banner: not a Pulumi Cloud billing estimate; not a remote-state security audit. 2. Module call map table: one row per Inventory stack stub or module cue. Missing OutputNotes write NOT IN INPUTS. Use Pulumi stacks, modules, ComponentResource, config, and outputs language when Inventory supports it. Never print state-key or account-ID VALUES not in Inventory. 3. Spec name set: only names in SpecNames. Unnamed modules stay NOT IN INPUTS. Never invent backend-URL VALUES not in Inventory. 4. Version lock: print Version. Refuse Pulumi features newer than Version if Version is named. 5. Refuse list: inventing state keys, inventing stack output values, inventing cloud account IDs, inventing backend URLs. 6. Compliance pass: quote Banned and Never hits. Cut them. Format as Format. Constraints: - Map from Inventory only. No invented state-key VALUES. Teach Pulumi module mapping, not a generic Terraform or CDKTF swap. - Honor Version. No emojis.
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.

Examples
Example Input
Inventory: stack Harbor Quay Network as pasted module cue @harbor/vpc as pasted output notes vpcId as pasted; stack River Ops App as pasted module cue @river/service as pasted. State key invent NONE. Account invent NONE. Version: Pulumi 3.x TypeScript as pasted (do not invent unreleased AI state writer) Workspace: Harbor Quay Infra org as pasted SpecNames: Harbor Quay Network as pasted; River Ops App as pasted. Backend URL UNKNOWN. StackNames: hq-network as pasted; ro-app as pasted. hq-data UNKNOWN. ModulePaths: @harbor/vpc as pasted; @river/service as pasted. @harbor/rds UNKNOWN. OutputNotes: vpcId as pasted. Stack output VALUES NOT IN INPUTS. Banned: guaranteed apply, state invent, account invent, backend invent Never: invent state keys, invent stack output values, invent cloud account IDs, invent backend URLs Format: ledger + table + specs + version + refuse + compliance Lang: English
Example Output
1. Ledger. Inventory: stack Harbor Quay Network module cue @harbor/vpc output notes vpcId; stack River Ops App module cue @river/service. State key invent NONE. Account invent NONE. Version Pulumi 3.x TypeScript. Workspace Harbor Quay Infra org. SpecNames Harbor Quay Network; River Ops App; Backend URL UNKNOWN. StackNames hq-network; ro-app; hq-data UNKNOWN. ModulePaths @harbor/vpc; @river/service; @harbor/rds UNKNOWN. OutputNotes vpcId; Stack output VALUES NOT IN INPUTS. Lang English. Banner: not a Pulumi Cloud billing estimate; not a remote-state security audit. Forbidden: invented state keys, stack output values, cloud account IDs, backend URLs, guaranteed apply, state invent, account invent, backend invent. 2. Module call map. 1. Harbor Quay Network | StackNames hq-network as pasted | ModulePaths @harbor/vpc as pasted | OutputNotes vpcId as pasted | state keys NONE | account NONE | Pulumi module call map only. 2. River Ops App | StackNames ro-app as pasted | ModulePaths @river/service as pasted | OutputNotes beyond vpcId NOT IN INPUTS | state keys NONE | account NONE. Backend URL UNKNOWN so write Backend URL NOT IN INPUTS. hq-data not invented beyond StackNames. 3. Spec name set. Harbor Quay Network; River Ops App as SpecNames. Backend URL UNKNOWN so write Backend URL NOT IN INPUTS. No state-key VALUES beyond Inventory. No third stack invented. 4. Version lock. Pulumi 3.x TypeScript as pasted. Unreleased AI state writer not used. Account ID packs NOT IN INPUTS. 5. Refuse. State invent: refused. Output value invent: refused. Account invent: refused. Backend invent: refused. Guaranteed apply: refused. 6. Compliance. Banned hits none. Format ledger+table+specs+version+refuse+compliance. Gaps: Backend URL, hq-data StackNames, @harbor/rds ModulePaths, stack output VALUES OutputNotes, account ID list if any. 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.