Upstream Patch Manager

•
59
•

Manages and synchronizes Terraform provider patches via specialized Git submodule workflows.

The Upstream Patch Manager skill streamlines the maintenance of Terraform provider submodules by providing a structured workflow for handling local patch files. It enables developers to identify the specific patch owning a line of code, amend existing patches to fix regressions, and rebase custom logic onto new upstream versions. By automating interactions with the upstream.sh utility, it ensures that provider customizations remain clean, conflict-free, and persistent across upgrades, preventing the accidental loss of changes during submodule resets.

主な機能

01Automated patch identification by file path or unique hunks
02Granular removal of entire patches or specific hunks
03Guardrails to prevent ephemeral direct edits in submodules
04Non-interactive patch amendment and history rewriting
0559 GitHub stars
06Safe rebase of patches onto new upstream commit SHAs

ユースケース

01Performing raw patch surgery or cleaning up legacy provider customizations
02Fixing regressions in a Pulumi provider introduced by an existing custom patch
03Upgrading a Terraform provider to a newer version while preserving local modifications