What problem does it solve?
This Skill guides users through migrating Terraform code and state into a language-specific Pulumi project, removing manual translation pain and reducing drift between Terraform and Pulumi representations.
Core Features & Use Cases
- Automated state translation: Use the terraform-migrate plugin to produce a Pulumi state draft that maps Terraform resources to Pulumi types.
- Provider discovery and installation: Read the required-providers manifest and install language-specific provider packages at the suggested versions.
- Importable stack generation and code alignment: Import the translated state into a Pulumi stack and iterate on source code until previews show no unexpected diffs.
- Use Case: Convert an AWS Terraform module and its state to a TypeScript Pulumi project, install matching provider libraries, import the translated state, and open a PR with the migrated sources.
Quick Start
Migrate the Terraform project at ${terraform_dir} to a TypeScript Pulumi project in ${pulumi_dir}, generate the Pulumi state draft with terraform-migrate, install the required providers, and import the generated state into the target Pulumi stack.