# Pulumi

> Manage cloud infrastructure with Pulumi using general-purpose programming languages. Use when tasks mention pulumi commands, Pulumi stacks, infrastructure as code in TypeScript/Python/Go/C#, or deploying with pulumi up.

- **Type:** Skill
- **Install:** `agentstack add skill-greedychipmunk-agent-skills-pulumi`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [greedychipmunk](https://agentstack.voostack.com/s/greedychipmunk)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [greedychipmunk](https://github.com/greedychipmunk)
- **Source:** https://github.com/greedychipmunk/agent-skills/tree/main/pulumi

## Install

```sh
agentstack add skill-greedychipmunk-agent-skills-pulumi
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Pulumi

## Intent Router

| Request | Reference | Load When |
| --- | --- | --- |
| Install tool, first-time setup, backend login | `resources/install-and-setup.md` | User needs to install Pulumi or configure backend |
| Language choice, project layout, resource patterns | `resources/language-and-project.md` | User asks about supported languages or project structure |
| Stacks, config, secrets | `resources/stacks-and-config.md` | User needs stack management, config values, or secrets |
| CLI commands, workflows | `resources/command-cookbook.md` | User needs preview/up/destroy patterns or command reference |

## Quick Start

```bash
# 1. Create a new project (prompts for language, cloud, stack)
pulumi new aws-typescript

# 2. Preview changes (no modifications made)
pulumi preview

# 3. Deploy changes
pulumi up

# 4. Destroy infrastructure (DANGEROUS — requires confirmation)
pulumi destroy
```

## Language Selection

Pulumi supports multiple languages — choose based on your team's familiarity:

| Language | Template prefix | Runtime needed |
| --- | --- | --- |
| TypeScript | `aws-typescript` | Node.js |
| Python | `aws-python` | Python 3.8+ |
| Go | `aws-go` | Go 1.21+ |
| C# | `aws-csharp` | .NET 6+ |
| Java | `aws-java` | JDK 11+ |
| YAML | `aws-yaml` | None |

## Core Command Tracks

- **New project:** `pulumi new ` — scaffold project with language/cloud
- **Preview:** `pulumi preview` — show planned changes, no deployment
- **Deploy:** `pulumi up` — create or update resources
- **Destroy:** `pulumi destroy` — remove all stack resources
- **Refresh:** `pulumi refresh` — sync state with actual cloud resources
- **Stack ops:** `pulumi stack ls`, `pulumi stack select`, `pulumi stack output`

## Stack Concept

A **stack** is a deployment target (e.g., `dev`, `staging`, `prod`). Each stack has its own config and state:

```bash
pulumi stack init prod
pulumi stack select dev
pulumi config set aws:region us-west-2
pulumi up
```

## Safety Guardrails

- Always run `pulumi preview` before `pulumi up` — review resource diffs carefully.
- `pulumi destroy` is **irreversible** — confirm the stack resource list before proceeding.
- Use `pulumi config set --secret` for sensitive values (passwords, API keys).
- Never commit Pulumi state files or unencrypted secret values.
- Use stack policies (CrossGuard) to enforce organizational guardrails.

## Workflow

1. Select or create a stack: `pulumi stack select dev`
2. Set required config: `pulumi config set aws:region us-east-1`
3. Write or update program code.
4. Run `pulumi preview` and review the diff.
5. Run `pulumi up` to deploy.
6. Check outputs: `pulumi stack output`

## Related Skills

- **terraform** — HCL-based IaC; Pulumi can import from Terraform state
- **ansible** — configuration management for post-provision setup

## References

- `resources/install-and-setup.md`
- `resources/language-and-project.md`
- `resources/stacks-and-config.md`
- `resources/command-cookbook.md`
- Official docs: 
- API / provider registry: 
- Tutorials: 
- Community:

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [greedychipmunk](https://github.com/greedychipmunk)
- **Source:** [greedychipmunk/agent-skills](https://github.com/greedychipmunk/agent-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-greedychipmunk-agent-skills-pulumi
- Seller: https://agentstack.voostack.com/s/greedychipmunk
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
