Hey there, I recently submitted an <issue> and a f...
# general
w
Hey there, I recently submitted an issue and a fix was released into the pulumi go sdk on
v3.212.0
. I'm struggling with the same issue this person had at the begining of the year - where even though the latest release of the SDK has my fix, sdks are generated via
pulumi package add terraform-provider ...
referencing an older version in the
go.mod
file that does not have my fix. This results in needing to communicate additional steps to developers for local development or having ad-hoc steps during CI Thoughts on patching the codegen tool to bump the version of the sdk in the go.mod file to
v3.212.0
?
e
I think last time we discussed that we were hesitant because it forces everyone to update, even when not needed. Might be more palatable to add something to the schema so this one provider can opt-in to a later version. Can you raise an issue about it, getting close to Christmas holidays and might get missed if its not recorded.
w
Yeah totally get it. It would be cool to support a new flag to specify the version of the sdk to use in the generated mod file
pulumi package add terraform-provider foo/bar 1.2.3 --sdk-version=3.213.0
I'll throw an issue up tomorrow
🙏 1
Alright I submitted an issue here - but this has sparked a larger discussion (mainly with myself 😅 ) as to the right way. Perpetually bumping this hard coded value doesn't seem scalable - and also has the potential to introduce breaking changes to existing CI processes using
pulumi install
.