Skip to content
Skill

Cloudformation to pulumi

Guides an agent through converting AWS CloudFormation stacks into Pulumi programs

Cloudformation to pulumi is an open-source agent skill for cloud and infrastructure. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
82
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Cloudformation to pulumi

This skill walks an agent through moving an AWS CloudFormation stack or template into a Pulumi program. It covers fetching the template and resource inventory with the AWS CLI, mapping intrinsic functions, parameters, conditions and mappings to Pulumi equivalents, and handling custom resources. A central rule is to name every Pulumi resource after its CloudFormation logical ID so that the cdk-importer tool can match resources for import.

The skill prefers the aws-native provider because its resource types map closely to CloudFormation types, and it asks the agent to justify any use of the classic aws provider. It also requires a clean pulumi preview after import, with no updates, replaces, creates or deletes, and ends with a pull-request-ready migration report and a resource mapping table.

It expects AWS credentials supplied through Pulumi ESC and a confirmed AWS region. Pulumi's own documentation is referenced for further detail. The skill contains no bundled scripts and sets no restrictions on allowed tools.

When your agent uses it

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.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 5 files (17 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the pulumi-migration plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add pulumi/agent-skills
/plugin install pulumi-migration@pulumi-agent-skills

Or copy only this skill to ~/.claude/skills/cloudformation-to-pulumi:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pulumi/agent-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/cloudformation-to-pulumi &&
cp -R "$tmp/migration/skills/cloudformation-to-pulumi" ~/.claude/skills/cloudformation-to-pulumi &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/cloudformation-to-pulumi inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/cloudformation-to-pulumi to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pulumi/agent-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/cloudformation-to-pulumi &&
cp -R "$tmp/migration/skills/cloudformation-to-pulumi" ~/.agents/skills/cloudformation-to-pulumi &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/cloudformation-to-pulumi inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/cloudformation-to-pulumi to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pulumi/agent-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/cloudformation-to-pulumi &&
cp -R "$tmp/migration/skills/cloudformation-to-pulumi" ~/.cursor/skills/cloudformation-to-pulumi &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/cloudformation-to-pulumi inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/pulumi/agent-skills.git --path migration/skills/cloudformation-to-pulumi

Or copy the folder to ~/.gemini/skills/cloudformation-to-pulumi yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/cloudformation-to-pulumi:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pulumi/agent-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/cloudformation-to-pulumi &&
cp -R "$tmp/migration/skills/cloudformation-to-pulumi" ~/.copilot/skills/cloudformation-to-pulumi &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/cloudformation-to-pulumi inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/pulumi/agent-skills.git

Then copy agent-skills/migration/skills/cloudformation-to-pulumi into your agent's skills folder as cloudformation-to-pulumi. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Template retrieval
Fetches the template and lists stack resources from AWS when only a stack name is given.
Logical ID naming
Keeps CloudFormation logical IDs as Pulumi resource names so imports can be matched automatically.
Intrinsic function mapping
Translates Ref, GetAtt, Sub, Join, Select and similar functions into Pulumi equivalents.
Parameters and conditions
Converts template parameters, mappings and conditions into Pulumi config and TypeScript logic.
Zero-diff import check
Requires a clean pulumi preview after import before the migration is considered complete.
Migration report
Produces a resource mapping table, custom resource notes and a PR-ready report.

Good for

  • Convert a CloudFormation template into a TypeScript Pulumi program
  • Import an existing CloudFormation-managed stack into Pulumi without recreating resources
  • Map CloudFormation Ref and GetAtt calls to Pulumi resource outputs
  • Document which CloudFormation custom resources need manual replacement
  • Produce a migration report for a pull request

Cloudformation to pulumi FAQ

What does the skill need before Cloudformation to pulumi starts?

It needs AWS credentials loaded through a Pulumi ESC environment and a confirmed AWS region. If no template file is given, it fetches the template by stack name.

Which Pulumi provider does Cloudformation to pulumi use?

It uses aws-native by default because CloudFormation types map directly to it. The classic aws provider is used only when aws-native lacks a needed feature, and that choice must be justified.

Does Cloudformation to pulumi convert code automatically?

No. The skill states there is no automated conversion tool for CloudFormation, so each resource is converted manually by the agent.

Why must resources keep their logical IDs?

The cdk-importer tool matches resources by name, so renaming them would cause automated import to fail.

How do I install Cloudformation to pulumi in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/cloudformation-to-pulumi to use it in all your projects, or to .claude/skills/cloudformation-to-pulumi in one project. Or install the pulumi-migration plugin, which includes it: /plugin marketplace add pulumi/agent-skills, then /plugin install pulumi-migration@pulumi-agent-skills.

Does Cloudformation to pulumi run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Cloudformation to pulumi?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Cloudformation to pulumi?

The closest alternatives to Cloudformation to pulumi are Pulumi cdk to pulumi, Pulumi arm to pulumi, Pulumi migrate from discovered stack, Pulumi overview and Pulumi terraform to pulumi.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from pulumi/agent-skills

  1. Hands the current coding thread off to a new Pulumi Neo task

    • Open source
    • 82 GitHub stars
    • Cloud and infrastructure
  2. Guides an agent through converting or importing Azure ARM and Bicep templates into Pulumi

    • Open source
    • 82 GitHub stars
    • Cloud and infrastructure
  3. Guides an agent through migrating an AWS CDK app to Pulumi with a PR-ready report

    • Open source
    • 82 GitHub stars
    • Cloud and infrastructure
  4. Guides an agent through migrating Terraform or OpenTofu projects and state into Pulumi

    • Open source
    • 82 GitHub stars
    • Cloud and infrastructure
  5. Guides an agent through upgrading a Pulumi provider repo to a new upstream version

    • Open source
    • 82 GitHub stars
    • Developer tools