
Provider Upgrade
This is for Pulumi users who need to bump a provider version without accidentally destroying infrastructure. The core insight is solid: an upgrade is a translation, not a change request. Your infrastructure intent hasn't changed, so a correct upgrade should produce zero diff. The skill walks you through the bump, preview, and diff checkpoint cycle, with clear categorization for every non-same resource. Category A is resources you touched (your translation is wrong if they don't show same). Category B is untouched resources (the provider version itself caused the diff). It covers the import-not-create pattern for newly explicit resources and the critical distinction between deleting from state versus actually destroying cloud infrastructure. Practical if you've ever stared at a post-upgrade preview wondering which diffs are safe.
- skills.sh installs
- 885
- GitHub stars
- 79
- last updated
- Aug 21, 2026
Install
$ npx -y skills add pulumi/agent-skills --skill provider-upgrade --agent claude-codeInstalls into .claude/skills of the current project.
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.
Sponsors
Details
- Repository
- github.com/pulumi/agent-skills
- Categories
- DevOps & CI/CD, Git & Pull Requests, AI & Agent Building, Release Management, Debugging, Python, Cloud & Infrastructure
- First seen
- Jun 3, 2026