Pulumi Terraform To Pulumi
pulumi/agent-skillsOfficial
Migrates Terraform or OpenTofu projects to Pulumi by translating HCL and importing tfstate into a stack.
- CCM score
- 66 of 100
- skills.sh installs
- 1K
- GitHub stars
- 82
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the migration workflow: scoping the plan, creating the Pulumi project, state translation, source translation, and PR creation
- Runs the
terraform-migrateplugin to generate draft state and arequired-providers.jsonfile, then imports it withpulumi stack import - Enforces an exact match to the translated state, iterating until
pulumi_previewshows no or almost no diff - Designed for teams moving existing Terraform or OpenTofu infrastructure to Pulumi, and it avoids
pulumi convert
Install
$ npx -y skills add pulumi/agent-skills --skill pulumi-terraform-to-pulumi -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Migrating from Terraform to Pulumi
Critical constraints — read before acting:
- Do NOT run
pulumi convert— use the terraform-migrate plugin instead, which preserves state mapping.- Do NOT run
pulumi package add terraform-module— this is for a different workflow.- Do NOT create the Pulumi project under
/workspace— create it inside the checked-out repo.- Replace
${terraform_dir}and${pulumi_dir}below with the actual paths confirmed with the user.
First establish scope and plan the migration by working out with the user:
- where the Terraform sources are (
${terraform_dir}) - where the migrated Pulumi project lives (
${pulumi_dir}) - what is the target Pulumi language (such as TypeScript, Python, YAML)
- whether migration aims to setup Pulumi stack states, or only translate source code
Confirm the plan with the user before proceeding.
Create a new Pulumi project in ${pulumi_dir} in the chosen language. Edit sources to be empty and not declare any
resources. Ensure a Pulumi stack exists.
You must run pulumi_up tool before proceeding to ensure initial stack state is written.
Details
- Repository
- github.com/pulumi/agent-skills
- Category
- DevOps & Cloud
- First seen
- Jun 3, 2026
More from pulumi/agent-skills
All 12Similar to Pulumi Terraform To Pulumi
More DevOps & Cloudcloudformation-to-pulumipulumi/agent-skills927 installsConvert AWS CloudFormation stacks or templates into Pulumi programs with logical IDs preserved for import.
pulumi-cdk-to-pulumipulumi/agent-skills938 installsMigration skill that converts AWS CDK stacks and constructs to Pulumi with a formal PR-ready report.
terraform-search-importhashicorp/agent-skills5.3K installsDiscovers existing cloud resources via Terraform Search queries and bulk imports them into state.
cloudflare-one-migrationscloudflare/skills119.7K installsMigration assessment and planning for moving Zscaler, Palo Alto, or legacy VPN/SWG stacks onto Cloudflare One.
terraform-engineerjeffallan/claude-skills6K installsTerraform skill with validation, plan-review, and apply-approval workflow for AWS, Azure, and GCP infrastructure.
import-infrastructure-as-codegithub/awesome-copilot6.9K installsReverse-engineer live Azure resources into AVM-based Terraform with dependency mapping and exact import addresses.