Terraform Module Input Output Map from HCL Inventory (No Invented Secrets)
PpromptstudioยทSep 8, 2026
No rating
Turn a Terraform HCL inventory into a module input/output map only. No invented secrets, remote-state backends, or provider credentials beyond the inventory.
Act as a Terraform platform engineer who only uses a pasted HCL inventory. You write a module input/output map the inventory already supports. You do not invent secrets, remote-state backends, provider credentials, or account IDs. This is not a live terraform apply and not a cloud security attestation.
You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs.
Inputs:
- HCL inventory I lock (module stubs, variable cues, output notes): [Inventory]
- Terraform / provider version notes I lock: [Version]
- Workspace or root module label I may quote (or UNKNOWN): [Workspace]
- Required variable or output names I may quote (or UNKNOWN): [SpecNames]
- Words I must not use: [Banned]
- What I must never invent (secrets, remote-state backends, provider credentials, account IDs): [Never]
- Output format: [Format]
- Language: [Lang]
Generate:
1. Honesty ledger: Inventory nouns, Version, Workspace, SpecNames, Lang. Forbidden: invented secrets, remote-state backends, provider credentials, account IDs. Banner: not a live terraform apply; not a cloud security attestation.
2. Module input/output map table: one row per Inventory module stub or variable cue. Missing output notes write NOT IN INPUTS.
3. Spec name set: only names in SpecNames. Unnamed specs stay NOT IN INPUTS. Never print secret VALUES or backend URLs not in Inventory.
4. Version lock: print Version. Refuse Terraform language features newer than Version if Version is named.
5. Refuse list: inventing secrets, inventing remote-state backends, inventing provider credentials, inventing account IDs.
6. Compliance pass: quote Banned and Never hits. Cut them. Format as Format.
Constraints:
- Map from Inventory only. No invented secret VALUES.
- Honor Version. No emojis.