Cloudformation To Pulumi

🏢Official
by pulumi · vlatest · Repository

Converts AWS CloudFormation templates into equivalent Pulumi code, simplifying infrastructure-as-code migration and leveraging Pulumi's features.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add cloudformation-to-pulumi npx -- -y @trustedskills/cloudformation-to-pulumi
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "cloudformation-to-pulumi": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/cloudformation-to-pulumi"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill enables AI agents to automatically convert AWS CloudFormation templates into Pulumi programs. It parses Infrastructure as Code definitions written in JSON or YAML and generates equivalent, executable Pulumi code for deployment.

When to use it

  • You have existing legacy infrastructure defined in CloudFormation but want to migrate to Pulumi's type-safe programming model.
  • You need to refactor complex JSON/YAML templates into more maintainable Python, TypeScript, or Go scripts.
  • Your team is transitioning from AWS-native IaC tools to a unified Pulumi workflow across multiple cloud providers.
  • You require immediate code generation to bootstrap new projects based on proven CloudFormation architectures.

Key capabilities

  • Parses standard AWS CloudFormation JSON and YAML templates.
  • Generates idiomatic Pulumi programs in Python, TypeScript, or Go.
  • Preserves resource definitions, properties, and logical dependencies from the source template.
  • Handles complex nested stacks and parameter mappings during conversion.

Example prompts

  • "Convert this AWS CloudFormation S3 bucket template into a Pulumi Python program."
  • "Migrate my existing CloudFormation VPC configuration to Pulumi TypeScript with updated security group rules."
  • "Generate a Pulumi Go stack that replicates the resources defined in this JSON CloudFormation file."

Tips & gotchas

Ensure your input CloudFormation templates are syntactically valid before conversion, as errors will propagate to the generated code. While the tool handles standard resources well, manually review complex custom resource types or specific AWS feature flags post-generation to ensure full functional parity.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
pulumi
Installs
137

🏢 Official

Published by the company or team that built the technology.