Alison Aquinas logoAlison's LLM Plugins

pulumi

Included in pluginci-cdView on GitHub ↗

Files

SKILL.mdagentsreferences

Install

Install the containing plugin
/plugin install ci-cd@llm-skills
Invoke this skill after installation
/ci-cd:pulumi
Download pulumi-skill.zip
This skill is bundled inside ci-cd. Install the plugin once, then Claude Code can use any of its included skills. Browse the full plugin repository at github.com/alisonaquinas/llm-ci-dev.

SKILL.md


name: pulumi description: 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.

Pulumi

Intent Router

RequestReferenceLoad When
Install tool, first-time setup, backend loginreferences/install-and-setup.mdUser needs to install Pulumi or configure backend
Language choice, project layout, resource patternsreferences/language-and-project.mdUser asks about supported languages or project structure
Stacks, config, secretsreferences/stacks-and-config.mdUser needs stack management, config values, or secrets
CLI commands, workflowsreferences/command-cookbook.mdUser needs preview/up/destroy patterns or command reference

Quick Start

# 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:

LanguageTemplate prefixRuntime needed
TypeScriptaws-typescriptNode.js
Pythonaws-pythonPython 3.8+
Goaws-goGo 1.21+
C#aws-csharp.NET 6+
Javaaws-javaJDK 11+
YAMLaws-yamlNone

Core Command Tracks

  • New project: pulumi new <template> — 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:

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
  • open-tofu — open-source Terraform fork; compatible with Terraform state
  • ansible — configuration management for post-provision setup
  • ci-architecture — integrating Pulumi into CI/CD pipelines
  • aws — AWS CLI for inspecting resources managed by Pulumi

References

← Back to marketplace