pulumi-cdk-to-pulumi

Convert AWS CDK Cloud Assemblies to Pulumi TypeScript programs using cdk2pulumi.

63|5|Updated Jan 20, 2026
One-click install
npx skills add https://github.com/pulumi/agent-skills --skill pulumi-cdk-to-pulumi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pulumi-cdk-to-pulumi
Source: https://github.com/pulumi/agent-skills/tree/main/migration/skills/pulumi-cdk-to-pulumi
Command: npx skills add https://github.com/pulumi/agent-skills --skill pulumi-cdk-to-pulumi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires cdk2pulumi, cdk-importer, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the conversion of AWS CDK applications into Pulumi programs, streamlining the migration process and reducing manual effort.

Core Features & Use Cases

  • Automated Conversion: Leverages cdk2pulumi to convert CDK Cloud Assemblies into Pulumi YAML and then to target languages like TypeScript.
  • Resource Mapping: Provides detailed mapping between CDK and Pulumi resources, including handling custom resources and provider strategies.
  • Asset & Bundling Handling: Offers strategies for migrating CDK assets and bundling, with clear guidance on replicating build steps in Pulumi.
  • Use Case: You have an existing AWS CDK application and want to migrate it to Pulumi for better state management and cross-cloud capabilities. This Skill guides you through the entire conversion and import process.

Quick Start

Use the pulumi-cdk-to-pulumi skill to convert your synthesized CDK application in cdk.out to a Pulumi TypeScript program.

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 AWS CDK apps to Pulumi?

To migrate AWS CDK apps to Pulumi, you convert synthesized Cloud Assemblies using the `cdk2pulumi` tool. This process translates your CDK outputs into Pulumi YAML and then into target programming languages like TypeScript.

How does converting CloudFormation to Pulumi handle custom resources?

Converting CloudFormation to Pulumi handles custom resources through detailed resource mapping and custom resource emulation. It provides specific provider strategies to ensure your CDK resources are accurately represented in the Pulumi program.

Can I import existing AWS infrastructure during CDK to Pulumi migration?

Yes, you can import existing AWS infrastructure during CDK to Pulumi migration. The process supports automated import via the `cdk-importer` tool, and also provides guidance for manually importing any unsupported resources.

What is the best way to migrate CDK assets and bundling to Pulumi?

The best way to migrate CDK assets and bundling to Pulumi is by using the provided asset and bundling strategies. These strategies offer clear guidance on how to replicate your existing CDK build steps within Pulumi.

Does the CDK to Pulumi conversion support TypeScript output?

Yes, the CDK to Pulumi conversion supports TypeScript output. The `cdk2pulumi` tool first converts CDK Cloud Assemblies into Pulumi YAML, which is then automatically translated into target languages like TypeScript.

What are the limitations of migrating AWS CDK to Pulumi?

A limitation of migrating AWS CDK to Pulumi is that some resources may not be automatically supported. When the `cdk-importer` cannot handle specific resources, you must follow provided guidance to manually import them.