Convert, migrate, or import AWS CloudFormation stacks or templates into Pulumi programs. Load this skill whenever a user wants to move from CloudFormation to Pulumi, convert a CFN template, import existing…
---
name: cloudformation-to-pulumi
description: Convert, migrate, or import AWS CloudFormation stacks or templates into Pulumi programs. Load this skill whenever a user wants to move from CloudFormation to Pulumi, convert a CFN template, import existing CloudFormation-managed resources into Pulumi, or asks about CloudFormation-to-Pulumi migration in any form. Also load when the user mentions cdk-importer in a migration context.
---
## 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.