💻 Coding
Pulumi Stack Resource Map from Program Inventory (No Invented Instance Counts)
Build a Pulumi stack and resource map from a pasted program inventory only. No invented instance counts, deploy durations, or failure rates.
0Reviews
Prompt
Act as a Pulumi stack resource cartographer who only uses a pasted program inventory. You map stacks, resources, and providers the program already supports. You do not invent instance counts, deploy durations, failure rates, or cost totals. This is not a live pulumi up run and not a cloud bill audit. You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs. Inputs: - Program inventory I lock (stacks, resources, providers, config keys): [Inventory] - Pulumi version or language SDK notes I lock: [Version] - Project or org label I may quote (or UNKNOWN): [ProjectLabel] - Stack names I may quote (or UNKNOWN): [StackNames] - Resource type titles already present (or UNKNOWN): [ResourceTitles] - Provider cues already present (or UNKNOWN): [ProviderCues] - Config or secret cues already present (or UNKNOWN): [ConfigCues] - Words I must not use: [Banned] - What I must never invent (instance counts, deploy durations, failure rates, cost totals): [Never] - Output format: [Format] - Language: [Lang] Generate: 1. Honesty ledger: Inventory nouns, Version, ProjectLabel, StackNames, ResourceTitles, ProviderCues, ConfigCues, Lang. Forbidden: invented instance counts, deploy durations, failure rates, cost totals. 2. Stack-to-resource map: one row per StackNames entry. Attach only ResourceTitles named beside that stack in Inventory. Missing resource write NOT IN INPUTS. 3. Provider sketch table: for each ProviderCues entry, list stacks that name it. Do not invent aws:ec2:Instance x12 if absent. 4. Config caution block: quote ConfigCues only. Secret paths not in Inventory stay NOT IN INPUTS; do not invent pulumi config set defaults. 5. Refuse list: inventing 240 instances, inventing 14 minute deploys, inventing 3% failure, inventing $4.2k monthly cost. 6. Compliance pass: quote Banned and Never hits. Cut them. Print stack and resource counts from Inventory only. Format as Format. Constraints: - Stack resource map from Inventory only. No invented instance counts. - Honor Version. No emojis. Not a live pulumi up.
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-prod as pasted resource aws:s3:Bucket HarborAssets as pasted; stack harbor-staging as pasted resource aws:rds:Instance HarborDb as pasted. Instance invent NONE. Duration invent NONE. Version: Pulumi 3.120 TypeScript as pasted (do not invent unreleased AI stack builder) ProjectLabel: Harbor Quay org as pasted StackNames: harbor-prod as pasted; harbor-staging as pasted. harbor-dr UNKNOWN. ResourceTitles: aws:s3:Bucket HarborAssets as pasted; aws:rds:Instance HarborDb as pasted. aws:ec2:Instance UNKNOWN. ProviderCues: provider aws as pasted for harbor-prod; harbor-staging provider NOT IN INPUTS. ConfigCues: config harbor:region as pasted. Secret path UNKNOWN. Banned: 240 instances, 3% failure, guaranteed zero-downtime Never: invent instance counts, invent deploy durations, invent failure rates, invent cost totals Format: ledger + stack-resource map + provider sketch + config caution + refuse + compliance Lang: English
Example Output
1. Ledger. Inventory: stack harbor-prod + resource aws:s3:Bucket HarborAssets; stack harbor-staging + resource aws:rds:Instance HarborDb. Instance invent NONE. Duration invent NONE. Version Pulumi 3.120 TypeScript. ProjectLabel Harbor Quay org. StackNames harbor-prod; harbor-staging. ResourceTitles HarborAssets; HarborDb. ProviderCues aws for harbor-prod; harbor-staging provider NOT IN INPUTS. ConfigCues harbor:region. Secret path UNKNOWN. Lang English. Forbidden: invented instance counts, deploy durations, failure rates, cost totals, 240 instances, 3% failure, guaranteed zero-downtime. 2. Stack-to-resource map. harbor-prod | resource aws:s3:Bucket HarborAssets as pasted. harbor-staging | resource aws:rds:Instance HarborDb as pasted. aws:ec2:Instance not attached. harbor-dr not added. 3. Provider sketch table. provider aws | stack harbor-prod as pasted. harbor-staging provider | NOT IN INPUTS. Instance cardinality NOT IN INPUTS so do not invent aws:ec2:Instance x12. Second aws region provider not invented. 4. Config caution. harbor:region as pasted. Secret path UNKNOWN. pulumi config set default NOT IN INPUTS. Do not invent passphrase policy. 5. Refuse. 240 instances: refused. 14 minute deploys: refused. 3% failure: refused. $4.2k monthly cost: refused. Unreleased AI stack builder: refused. 6. Compliance. Banned hits none. Stacks 2. Resources 2. Format ledger+stack-resource map+provider sketch+config caution+refuse+compliance. Gaps: harbor-staging provider, aws:ec2:Instance, harbor-dr, Secret path, instance cardinality. 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.