💻 Coding
OpenTofu Module Resource Stack Map from Stack Inventory (No Invented Cost Totals)
Turn an OpenTofu stack inventory into a module resource stack map only. No invented cost totals, drift counts, or apply durations beyond the inventory.
0Reviews
Prompt
Act as an OpenTofu module-resource stack cartographer who only uses a pasted inventory. You write a module resource stack map the inventory already supports. You do not invent cost totals, drift counts, apply durations, or billing secrets not in Inputs. This is not an OpenTofu brand-kit generator; not a cost guarantee. You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs. Inputs: - Inventory I lock (module stubs, resource cues, stack notes): [Inventory] - OpenTofu / CLI version notes I lock: [Version] - Stack or workspace label I may quote (or UNKNOWN): [Workspace] - Required module or map names I may quote (or UNKNOWN): [SpecNames] - Module and source labels already present (or UNKNOWN): [ModuleCues] - Resource and type labels already present (or UNKNOWN): [ResourceCues] - Stack and workspace notes already present (or UNKNOWN): [StackNotes] - Words I must not use: [Banned] - What I must never invent (cost totals, drift counts, apply durations, billing secrets): [Never] - Output format: [Format] - Language: [Lang] Generate: 1. Honesty ledger: Inventory nouns, Version, Workspace, SpecNames, ModuleCues, ResourceCues, StackNotes, Lang. Forbidden: invented cost totals, drift counts, apply durations, billing secrets. Banner: not an OpenTofu brand-kit generator; not a cost guarantee. 2. Module resource stack map: one numbered row per Inventory stub or cue. Missing StackNotes write NOT IN INPUTS. Use OpenTofu modules, resources, stacks, and provider language when Inventory supports it. Never print cost-count or drift VALUES not in Inventory. 3. Spec name set: only names in SpecNames. Unnamed rows stay NOT IN INPUTS. Never invent apply-duration VALUES not in Inventory. 4. Version lock: print Version. Refuse OpenTofu features newer than Version if Version is named. 5. Refuse list: inventing cost totals, inventing drift counts, inventing apply durations, inventing billing secrets. 6. Compliance pass: quote Banned and Never hits. Cut them. Format as Format. Constraints: - Map from Inventory only. No invented cost VALUES. Teach OpenTofu module resource stack maps, not a Terraform or Pulumi 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: module Harbor Quay Dock Net as pasted resource cue Quay VPC Core as pasted stack notes Quay Prod as pasted; module River Ops River Net as pasted resource cue Quay VPC Core as pasted. Cost invent NONE. Drift invent NONE. Version: OpenTofu as pasted (do not invent unreleased AI cost pack) Workspace: Harbor Quay iac desk as pasted SpecNames: Dock Net module map as pasted; River Net module map as pasted. Apply durations UNKNOWN. ModuleCues: Dock Net as pasted; River Net as pasted. Preview UNKNOWN. ResourceCues: Quay VPC Core as pasted. Subnet UNKNOWN. StackNotes: Quay Prod as pasted. Cost VALUES NOT IN INPUTS. Banned: guaranteed cost, cost invent, drift invent, apply invent Never: invent cost totals, invent drift counts, invent apply durations, invent billing secrets Format: ledger + table + specs + version + refuse + compliance Lang: English
Example Output
1. Ledger. Inventory: module Harbor Quay Dock Net as pasted resource cue Quay VPC Core as pasted stack notes Quay Prod as pasted; module River Ops River Net as pasted resource cue Quay VPC Core as pasted. Cost invent NONE. Drift invent NONE. Version OpenTofu as pasted. Workspace Harbor Quay iac desk. SpecNames Dock Net module map as pasted; River Net module map as pasted. Apply durations UNKNOWN. ModuleCues Dock Net as pasted; River Net as pasted. Preview UNKNOWN. ResourceCues Quay VPC Core as pasted. Subnet UNKNOWN. StackNotes Quay Prod as pasted. Cost VALUES NOT IN INPUTS. Lang English. Banner: not an OpenTofu brand-kit generator; not a cost guarantee. Forbidden: invented cost totals, drift counts, apply durations, billing secrets, guaranteed cost, cost invent, drift invent, apply invent. 2. Module resource stack map. 1. Harbor Quay Dock Net | ModuleCues Dock Net as pasted | ResourceCues Quay VPC Core as pasted | StackNotes Quay Prod as pasted | cost VALUES NONE | drift NONE | OpenTofu module resource stack map only. 2. River Ops River Net | ModuleCues River Net as pasted | ResourceCues Quay VPC Core as pasted | StackNotes beyond Quay Prod NOT IN INPUTS | cost VALUES NONE | drift NONE. Apply durations UNKNOWN so write apply-duration VALUES NOT IN INPUTS. Preview not invented beyond ModuleCues. 3. Spec name set. Dock Net module map as pasted; River Net module map as pasted as SpecNames. Unnamed rows NOT IN INPUTS. Never invent apply-duration VALUES. 4. Version lock. OpenTofu as pasted as pasted. Refuse unreleased AI cost pack. 5. Refuse list. inventing cost totals; inventing drift counts; inventing apply durations; inventing billing secrets. 6. Compliance. Quoted Banned: guaranteed cost, cost invent, drift invent, apply invent. Cut. Quoted Never: invent cost totals, invent drift counts, invent apply durations, invent billing secrets. Cut. Format ledger + table + specs + version + refuse + compliance. 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.