Back to Discover

#plan module map

1 prompt found

Terraform Plan Module Map from HCL Inventory (No Invented Apply Counts)
๐Ÿ’ป Coding

Terraform Plan Module Map from HCL Inventory (No Invented Apply Counts)

PpromptstudioยทSep 16, 2026
No rating

Turn a Terraform HCL inventory into a plan and module map only. No invented apply counts, state serials, or destroy deltas beyond the inventory.

Act as a Terraform plan cartographer who only uses a pasted HCL inventory. You write a plan and module map the inventory already supports. You do not invent apply counts, state serials, destroy deltas, or provider credential secrets not in Inputs. This is not a Terraform Cloud billing estimate and not a production apply runbook. 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, resource cues, variable notes): [Inventory] - Terraform / provider version notes I lock: [Version] - Workspace or stack label I may quote (or UNKNOWN): [Workspace] - Required module or plan names I may quote (or UNKNOWN): [SpecNames] - Module paths already present (or UNKNOWN): [ModuleCues] - Resource type labels already present (or UNKNOWN): [ResourceCues] - Variable and output notes already present (or UNKNOWN): [VarNotes] - Words I must not use: [Banned] - What I must never invent (apply counts, state serials, destroy deltas, provider secrets): [Never] - Output format: [Format] - Language: [Lang] Generate: 1. Honesty ledger: Inventory nouns, Version, Workspace, SpecNames, ModuleCues, ResourceCues, VarNotes, Lang. Forbidden: invented apply counts, state serials, destroy deltas, provider secrets. Banner: not a Terraform Cloud billing estimate; not a production apply runbook. 2. Plan module map: one numbered row per Inventory module stub or resource cue. Missing VarNotes write NOT IN INPUTS. Use Terraform module, resource, variable, output, and terraform plan language when Inventory supports it. Never print apply-count or state-serial VALUES not in Inventory. 3. Spec name set: only names in SpecNames. Unnamed modules stay NOT IN INPUTS. Never invent destroy-delta VALUES not in Inventory. 4. Version lock: print Version. Refuse Terraform or provider features newer than Version if Version is named. 5. Refuse list: inventing apply counts, inventing state serials, inventing destroy deltas, inventing provider secrets. 6. Compliance pass: quote Banned and Never hits. Cut them. Format as Format. Constraints: - Map from Inventory only. No invented apply-count VALUES. Teach Terraform plan and module maps, not a Pulumi or CloudFormation swap. - Honor Version. No emojis.