cloudformation-to-pulumi

Convert AWS CloudFormation templates and stacks into Pulumi programs.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the conversion of AWS CloudFormation templates and stacks into equivalent Pulumi programs, streamlining the migration process and enabling the use of Pulumi's advanced features for infrastructure management.

Core Features & Use Cases

  • Automated Resource Conversion: Converts CloudFormation resources to Pulumi code, prioritizing the aws-native provider for direct mapping.
  • Import Strategy: Guides users through the process of importing existing resources into Pulumi state, ensuring zero-diff deployments.
  • Use Case: You have an existing AWS CloudFormation stack managing your VPC, subnets, and security groups. Use this Skill to convert that stack into a Pulumi TypeScript program, allowing you to manage your infrastructure with Pulumi's state management and programming model.

Quick Start

Convert the attached CloudFormation template file 'my-stack.yaml' to a Pulumi TypeScript program.

Frequently Asked Questions about cloudformation-to-pulumi

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

FAQPage Schema
How do I convert an AWS CloudFormation template to Pulumi?

To convert an AWS CloudFormation template to Pulumi, this Skill automates resource conversion into a Pulumi program, prioritizing the aws-native provider for direct mapping. It guides you through mapping intrinsic functions and manual resource conversion.

Can I import existing CloudFormation resources into Pulumi state without causing changes?

Yes, you can import existing CloudFormation resources into Pulumi state without causing changes. The Skill guides you through automated resource import using cdk-importer and ensures zero-diff import validation for deployments.

What is the best way to migrate CloudFormation stacks to infrastructure as code with Pulumi?

The best way to migrate CloudFormation stacks to Pulumi infrastructure as code is using this conversion Skill. It translates templates into Pulumi TypeScript programs while ensuring critical requirements like resource name consistency are met.

Does the CloudFormation to Pulumi conversion support intrinsic functions?

Yes, the CloudFormation to Pulumi conversion supports intrinsic functions. The Skill explicitly guides users through intrinsic function mapping to ensure the translated Pulumi program accurately reflects the original template logic.

Why does my imported CloudFormation stack show a diff in Pulumi?

Your imported CloudFormation stack shows a diff in Pulumi because resource name consistency or zero-diff import validation requirements were not met. The Skill enforces these critical checks during the automated resource import process to prevent drift.

Do I need the aws-native provider to migrate CloudFormation to Pulumi?

You need the aws-native provider because the Skill prioritizes it for direct resource mapping during CloudFormation conversion. This ensures the generated Pulumi program accurately maps to your existing AWS infrastructure components.