Provider Upgrade
Upgrades a Pulumi provider to a newer version, then reconciles the resulting preview diff with the code.
- CCM score
- 76 of 100
- skills.sh installs
- 919
- GitHub stars
- 82
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers bumping provider dependencies in package.json, requirements.txt, pyproject.toml, go.mod, or Pulumi.yaml, then previewing the result
- Includes a diff checkpoint that sorts each non-
sameresource into code-caused changes or provider-caused changes, with a diagnostic toolbox reference - Enforces that new resource blocks adopt existing cloud objects via
importrather than creating duplicates, and thatdeletediffs are not left in place - Designed for any Pulumi provider, including aws, azure-native, gcp, kubernetes, cloudflare, and datadog, not only Tier 1 providers
Install
$ npx -y skills add pulumi/agent-skills --skill provider-upgrade -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Upgrading Pulumi Providers
The Principle
A provider upgrade is a translation, not a change request.
The user's infrastructure intent hasn't changed - they still want the same bucket, the same function, the same cluster. What changed is how the provider's API expresses that intent. Your job is to translate their existing code into the new API so that Pulumi sees no difference between what the code says and what already exists.
There are four layers to keep in mind:
- User intent - what the user wants in the cloud (unchanged during an upgrade)
- Code - how the program expresses that intent using the provider API (may need updating)
- Pulumi state - Pulumi's stored representation of what exists (may need reconciliation)
- Real cloud - the actual infrastructure (should not change during an upgrade)
During an upgrade, layers 2 and 3 may need to change so that they continue to correctly represent the unchanged layers 1 and 4.
Details
- Repository
- github.com/pulumi/agent-skills
- Category
- DevOps & Cloud
- First seen
- Jun 3, 2026
Questions
What does the provider-upgrade skill do?
It upgrades any Pulumi provider to a newer version and reconciles the resulting diff, treating the upgrade as a translation so the preview shows no unintended changes. It also helps fix resources that broke after an upgrade, such as unexpected replacements, creates, or deletes.
Which providers does provider-upgrade work with?
It applies to all Pulumi providers, including aws, azure-native, gcp, kubernetes, aws-native, cloudflare and datadog, not just Tier 1 providers. It covers bumping the provider SDK in package.json, requirements.txt, pyproject.toml, go.mod or Pulumi.yaml.
How do I install the provider-upgrade skill?
Run npx -y skills add pulumi/agent-skills --skill provider-upgrade -y in your project. After that, the agent can walk you through bumping a provider and checking the post-upgrade preview.
Where does provider-upgrade fit among DevOps & Cloud skills?
It sits in the DevOps & Cloud category alongside the azure-diagnostics, azure-prepare, azure-deploy, azure-validate and azure-storage skills. Unlike those, it focuses on keeping Pulumi state and code in sync during provider version changes.
When should I not use provider-upgrade?
Do not use it to query which stacks use which package versions, since the package-usage skill handles cross-stack audits. It is also not meant for general infrastructure tasks.
More from pulumi/agent-skills
All 12Similar to Provider Upgrade
More DevOps & Cloudpulumi-upgrade-providerpulumi/agent-skills723 installsUpgrade a Pulumi provider repository with the upgrade-provider tool, fixing failures until a local result is ready.
pulumi-terraform-to-pulumipulumi/agent-skills1K installsMigrates Terraform or OpenTofu projects to Pulumi by translating HCL and importing tfstate into a stack.
azure-upgrademicrosoft/azure-skills681.6K installsAssesses and upgrades Azure workloads between plans, SKUs, and SDKs, with approval gates on source changes.
pulumipproenca/dot-skills321 installsPulumi infrastructure-as-code guidance that prioritizes state, resource graph, and secrets reliability for agents writing or reviewing code.
aws-cdkaws/agent-toolkit-for-aws11.3K installsFull-stack AWS CDK skill for authoring, deploying, and troubleshooting infrastructure in TypeScript or Python.