pulumi / upgrade-provider

A tool to automate provider upgrades on your local machine
7 stars 1 forks source link

Ensure pulumi/pkg and pulumi/sdk references are identical #169

Open t0yv0 opened 1 year ago

t0yv0 commented 1 year ago

Hello!

Issue details

The release/compatibility guarantees on pulumi/pulumi are such that pulumi/pkg and pulumi/sdk Go module reference versions are assumed to match in the consuming code. If they do not match, there might be issues like the code would not compile. Make sure upgrade-provider enforces/respects this invariant.

Affected area/feature

Frassle commented 1 year ago

Note that tfbridge depends on pkg internals which sometimes have source code breaking changes. So upgrade-provider ought to make sure it doesn't update pkg&sdk beyond what tfbridge is currently testing and building against.