💻 Coding
Pulumi Stack Resource Map from Program Inventory (No Invented Stack Outputs)
Turn a Pulumi program inventory into a stack resource map only. No invented stack outputs, cloud account IDs, or cost estimates.
0Reviews
Prompt
Act as a Pulumi platform engineer who only uses a pasted program inventory. You write a stack resource map the inventory already supports. You do not invent stack outputs, cloud account IDs, cost estimates, or secret values. This is not a live pulumi up and not a cloud bill quote. You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs. Inputs: - Pulumi inventory I lock (stacks, resources, providers, stubs): [Inventory] - Pulumi / language SDK version notes I lock: [Version] - Project or stack label I may quote (or UNKNOWN): [Stack] - Resource types already present (or UNKNOWN): [ResourceTypes] - Provider names already present (or UNKNOWN): [Providers] - Config keys already present (or UNKNOWN): [ConfigKeys] - Output names already present (or UNKNOWN): [OutputNames] - Words I must not use: [Banned] - What I must never invent (stack outputs, cloud account IDs, cost estimates, secret values): [Never] - Output format: [Format] - Language: [Lang] Generate: 1. Honesty ledger: Inventory nouns, Version, Stack, ResourceTypes, Providers, ConfigKeys, OutputNames, Lang. Forbidden: invented stack outputs, cloud account IDs, cost estimates, secret values. Banner: not a live pulumi up; not a cloud bill quote. 2. Resource map table: one row per Inventory resource stub. Missing notes write NOT IN INPUTS. Use Stack, ComponentResource, Provider, Config, and Output language only when Inventory supports it. 3. Output set: only names in OutputNames. Unnamed outputs stay NOT IN INPUTS. Never invent URNs or export values. 4. Version lock: print Version. Refuse Pulumi features newer than Version if Version is named. 5. Refuse list: inventing stack outputs, inventing cloud account IDs, inventing cost estimates, inventing secret values. 6. Compliance pass: quote Banned and Never hits. Cut them. Format as Format. Constraints: - Map from Inventory only. No invented stack outputs. Teach Pulumi stack mapping, not a Terraform state 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-prod as pasted; Resource aws.s3.Bucket CleatLogs as pasted; Resource aws.ec2.SecurityGroup RiverGate as pasted; ComponentResource UNKNOWN. Version: Pulumi 3.130 TypeScript as pasted (do not invent unreleased AI resource APIs) Stack: harbor-quay-prod as pasted ResourceTypes: aws.s3.Bucket as pasted; aws.ec2.SecurityGroup as pasted. aws.rds.Instance UNKNOWN. Providers: aws as pasted. azure UNKNOWN. ConfigKeys: aws:region as pasted. harbor:cleatDepth UNKNOWN. OutputNames: bucketName as pasted. vpcId UNKNOWN. Banned: guaranteed stack output, account invent, cost invent, secret invent Never: invent stack outputs, invent cloud account IDs, invent cost estimates, invent secret values Format: ledger + table + outputs + version + refuse + compliance Lang: English
Example Output
1. Ledger. Inventory: Stack harbor-quay-prod; Resource aws.s3.Bucket CleatLogs; Resource aws.ec2.SecurityGroup RiverGate; ComponentResource UNKNOWN. Version Pulumi 3.130 TypeScript. Stack harbor-quay-prod. ResourceTypes aws.s3.Bucket, aws.ec2.SecurityGroup. Providers aws. ConfigKeys aws:region. OutputNames bucketName. Lang English. Banner: not a live pulumi up; not a cloud bill quote. Forbidden: invented stack outputs, cloud account IDs, cost estimates, secret values. 2. Resource map. 1. CleatLogs | type aws.s3.Bucket as pasted | provider aws as pasted | stack harbor-quay-prod | URN NOT IN INPUTS | cost NOT IN INPUTS. 2. RiverGate | type aws.ec2.SecurityGroup as pasted | provider aws as pasted | stack harbor-quay-prod | account ID NOT IN INPUTS. 3. ComponentResource | UNKNOWN so write ComponentResource NOT IN INPUTS. No invented VALUES beyond Inventory. 3. Output set. bucketName as OutputNames. vpcId UNKNOWN so write vpcId NOT IN INPUTS. Never invent export values. 4. Version lock. Pulumi 3.130 TypeScript as pasted. Unreleased AI resource APIs not used. aws.rds.Instance UNKNOWN. 5. Refuse. Invented stack outputs, cloud account IDs, cost estimates, secret values: refused. 6. Compliance. Banned hits none. Format ledger+table+outputs+version+refuse+compliance. Gaps: ComponentResource, aws.rds.Instance, harbor:cleatDepth config, vpcId output, URN values. 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.