Skip to content
pulumi avatar

Cloudformation To Pulumi

Convert AWS CloudFormation stacks or templates into Pulumi programs with logical IDs preserved for import.

CCM score
68 of 100
skills.sh installs
927
GitHub stars
82
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the migration workflow: gathering the template and resource inventory, converting resources, importing existing resources, and validating the result
  • Requires every Pulumi resource to use its CloudFormation Logical ID as the name so cdk-importer can match resources automatically
  • Defaults to aws-native for all resources, with the classic aws provider allowed only when a feature is unsupported
  • Includes intrinsic function, condition, parameter, and mapping conversion rules, plus a zero-diff pulumi preview check after import

Install

$ npx -y skills add pulumi/agent-skills --skill cloudformation-to-pulumi -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

IMPORTANT: PLAN ADJUSTMENT REQUIRED

If you have already generated a migration plan before loading this skill, you MUST:

  1. Review your existing plan against the workflows and requirements in this skill
  2. Identify any gaps, missing steps, or incorrect assumptions
  3. Update and revise your plan to align with this skill's guidance
  4. Communicate the adjusted plan to the user before proceeding

CRITICAL SUCCESS REQUIREMENTS

The migration output MUST meet all of the following:

  1. Complete Resource Coverage

    • Every CloudFormation resource MUST be represented in the Pulumi program OR explicitly justified in the final report.
  2. CloudFormation Logical ID as Resource Name

    • CRITICAL: Every Pulumi resource MUST use the CloudFormation Logical ID as its resource name.
    • This enables the cdk-importer tool to automatically find import IDs.
    • DO NOT rename resources. Automated import will FAIL if you change the logical IDs.
  3. Successful Deployment

    • The produced Pulumi program must be structurally valid and capable of a successful pulumi preview (assuming proper config).

Details

Repository
github.com/pulumi/agent-skills
Categories
DevOps & Cloud, Backend & APIs
First seen
Jun 3, 2026

More from pulumi/agent-skills

All 12

Similar to Cloudformation To Pulumi

More DevOps & Cloud