> Universal Infrastructure as Code.
Scanned 9/5/2026
Install to Claude Code
npx -y skills add ashish7802/awesome-api-skills --skill pulumi --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Pulumi?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/ashish7802-pulumi)More formats (shields.io, HTML) on the badges page.
# Pulumi Skill
> Universal Infrastructure as Code.
## Ecosystem Graph
```mermaid
graph LR
pulumi["Pulumi"]
pulumi -- "alternative to" --> terraform
pulumi -- "depends on" --> typescript
```
## Quick Start
Pulumi allows you to write Infrastructure as Code using general-purpose programming languages (TypeScript, Python, Go) instead of proprietary domain-specific languages like HCL.
```bash
npm install @pulumi/pulumi @pulumi/aws
pulumi up
```
## Production Patterns
### Programmatic Generation
Because Pulumi uses real code, you can easily use loops to generate 50 identical S3 buckets with slightly varying names, or fetch data from an external API to determine resource configurations dynamically during deployment.
## Architecture & Scaling
### Micro-Stacks
Instead of one massive Pulumi project, split your infrastructure into independent Stacks (e.g., `CoreNetwork`, `Database`, `Frontend`). Use Stack References (`new pulumi.StackReference`) to pass outputs (like VPC IDs) between them safely.
## Error Recovery
If Pulumi hangs during an update, you can manually cancel it and use `pulumi stack export` to inspect the raw JSON state, fix any corrupted resource IDs, and `pulumi stack import` the corrected state back.
## Security Notes
Pulumi natively supports secret management (`pulumi config set --secret`). Secrets are encrypted in the state file. When writing TypeScript, these secrets are returned as `Output<string>` types which cannot be accidentally logged as plaintext.
## Relationships
**Prerequisites**: [typescript](/skills/typescript)
**Alternatives**: [terraform](/skills/terraform)
## References
- [Pulumi Docs](https://www.pulumi.com/docs/)
## Why use this skill
Use this when your agent works with **pulumi** — structured patterns beat pasted docs and prevent common hallucinations.
## AI pitfalls
- Referencing CLI flags or config keys that do not exist
- Using outdated major versions of tools
- Skipping lockfile or version pinning in examples
## Production checklist
- [ ] Secrets in environment variables, not source code
- [ ] Error handling and logging in place
- [ ] Rate limits and timeouts configured
## Related skills
- [`terraform`](../terraform/SKILL.md) — alternative to
---
> **Last Verified:** 2026-07-02
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!