Terraform to Pulumi Migration

•
61
•

Migrates Terraform and OpenTofu infrastructure-as-code projects to Pulumi, automatically translating HCL source code and importing existing state.

The Terraform to Pulumi Migration skill automates the transition of your Infrastructure as Code (IaC) from Terraform or OpenTofu to Pulumi. It directs Claude to establish the migration scope, retrieve live state files from various backends, execute the state-preserving terraform-migrate utility, match exact provider versions, and import the translated state into a new Pulumi stack. By translating both HCL configuration and live state files, it ensures a seamless, safe transition to Pulumi in your preferred programming language without infrastructure downtime.

主要功能

01Resolves and installs matching Pulumi provider dependencies based on existing Terraform provider versions
02Translates HCL (HashiCorp Configuration Language) source code into Pulumi languages like TypeScript, Python, Go, or C#
0361 GitHub stars
04Preserves and imports live Terraform/OpenTofu state using the state-safe terraform-migrate plugin
05Automatically pulls remote state from S3, Pulumi Cloud, Terraform Cloud, or local files
06Performs iterative dry-run validations with preview tools to guarantee zero-diff alignment with actual cloud infrastructure

使用场景

01Migrating legacy Terraform projects to a modern general-purpose programming language supported by Pulumi
02Automating complex state translations and credential management setups using Pulumi ESC during infrastructure modernization
03Consolidating fragmented OpenTofu or Terraform deployments into unified Pulumi stacks without losing resource state