upstream-patches
Installation
SKILL.md
Working with Upstream Patches
The upstream/ directory is a git submodule pointing to the upstream Terraform provider. We maintain patches in the patches/ directory that are applied on top of the upstream code. Use ./scripts/upstream.sh to manage patches.
Commands Reference
| Command | Description |
|---|---|
./scripts/upstream.sh init |
Initialize upstream and apply patches to working directory |
./scripts/upstream.sh init -f |
Force re-initialize, discarding any changes |
./scripts/upstream.sh checkout |
Create branch with patches as commits for editing |
./scripts/upstream.sh rebase -i |
Interactively edit patch commits |
./scripts/upstream.sh rebase -o <commit> |
Rebase patches onto a new upstream commit |
./scripts/upstream.sh check_in |
Write commits back to patches and exit checkout mode |