Pulumi Terraform To Pulumi

🏢Official
by pulumi · vlatest · Repository

Automatically converts existing Terraform infrastructure code into Pulumi's Python, TypeScript, or Go code.

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 pulumi-terraform-to-pulumi npx -- -y @trustedskills/pulumi-terraform-to-pulumi
2

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

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

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

About This Skill

What it does

This skill allows you to convert Terraform configuration files into Pulumi code. It facilitates migrating existing infrastructure defined in Terraform to a more modern, programmatic approach using Pulumi's familiar programming language abstractions. The conversion process aims for functional equivalence, allowing users to leverage their existing Terraform knowledge within the Pulumi ecosystem.

When to use it

  • Migrating from Terraform: You have an existing codebase written in Terraform and want to transition to Pulumi without manually rewriting everything.
  • Modernizing Infrastructure: You're looking for a more flexible and extensible way to manage your cloud infrastructure beyond what Terraform offers.
  • Leveraging Pulumi’s Features: You want to take advantage of Pulumi's features like state management, secrets management, and policy as code capabilities.
  • Gradual Adoption: You wish to incrementally adopt Pulumi by converting portions of your existing Terraform infrastructure over time.

Key capabilities

  • Terraform to Pulumi conversion
  • Functional equivalence preservation
  • Supports a range of Terraform resource types (specifics not detailed)
  • Facilitates migration from Terraform to Pulumi

Example prompts

  • "Convert this Terraform file: main.tf to Pulumi code."
  • "Generate Pulumi code equivalent to the following Terraform configuration: [paste terraform config here]"
  • "Can you convert my existing Terraform infrastructure into a Pulumi program?"

Tips & gotchas

  • The conversion process may require manual adjustments and refinement after initial generation, as perfect equivalence isn't always possible.
  • Complex or highly customized Terraform configurations might necessitate significant post-conversion modifications to achieve the desired outcome in Pulumi.

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
0

🏢 Official

Published by the company or team that built the technology.