pulumi-cdk-to-pulumi

Converts AWS CDK applications into deployable Pulumi programs with migration reports.

19|3|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/dirien/yet-another-agent-harness --skill pulumi-cdk-to-pulumi-dirien
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pulumi-cdk-to-pulumi
Source: https://github.com/dirien/yet-another-agent-harness/tree/main/.claude/skills/pulumi-cdk-to-pulumi
Command: npx skills add https://github.com/dirien/yet-another-agent-harness --skill pulumi-cdk-to-pulumi-dirien

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Convert AWS CDK applications and synthesized CloudAssemblies into structured, deployable Pulumi programs and a PR-ready migration report to replace scattered manual migration work.

Core Features & Use Cases

  • Automated Conversion: Uses the cdk2pulumi conversion workflow to turn CDK cloud assemblies into Pulumi YAML and convert to TypeScript, preserving logical IDs for automated import.
  • Provider & Resource Strategy: Guides aws-native vs aws provider decisions, handles custom resources with documented tradeoffs, and ensures complete resource coverage or explicit justification.
  • Assets, Bundling & Import: Detects CDK assets and bundling, recommends strategies (CI, command provider, pre-build), and includes optional automated import with cdk-importer and troubleshooting steps.
  • Use Case: Migrate a multi-stack CDK app that uses Lambda-backed custom resources, Docker/image assets, and cross-stack references into a maintainable Pulumi program with import guidance and a migration report.

Quick Start

Convert the attached AWS CDK app in cdk.out to a Pulumi TypeScript program and produce a PR-ready migration report including resource mappings, provider decisions, and any manual steps required.

Frequently Asked Questions about pulumi-cdk-to-pulumi

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate an AWS CDK app to Pulumi?

Convert AWS CDK apps to Pulumi by using the cdk2pulumi workflow on synthesized CloudAssemblies to generate Pulumi YAML, then translate to TypeScript while preserving logical IDs for automated resource import.

What is the best way to handle CDK custom resources when converting to Pulumi?

Handling CDK custom resources during conversion involves documenting tradeoffs and applying specific provider strategies to ensure complete resource coverage or explicit justification within the final Pulumi program.

Can I migrate multi-stack CDK projects with Docker and Lambda assets to Pulumi?

Yes, you can migrate multi-stack CDK projects with Docker and Lambda assets by detecting CDK assets and bundling, then recommending strategies like CI, command provider, or pre-build for the Pulumi program.

Does the migration from AWS CDK to Pulumi support choosing between aws and aws-native providers?

Yes, CDK to Pulumi migration guides provider decisions between aws-native and aws providers, evaluating tradeoffs to ensure complete resource coverage or providing explicit justification for the chosen provider.

How do I import existing AWS resources into Pulumi after migrating from CDK?

After converting CDK to Pulumi, perform optional automated resource import using cdk-importer, leveraging preserved logical IDs to map and import existing AWS resources with included troubleshooting steps.

What are the limitations of converting CDK CloudAssemblies to Pulumi TypeScript?

Limitations include handling custom resources with documented tradeoffs and ensuring manual steps are completed for assets and bundling strategies that cannot be fully automated into the deployable Pulumi program.