Hi, I have a problem using the pulumi-tf-provider-...
# package-authoring
f
Hi, I have a problem using the pulumi-tf-provider-boilerplate. When I use the makefile to generate the SDKs, the provider version is not set in the generated sdks (set to 0.0.0 in setup.py and ${VERSION} in package.json). How do I set the correct version number in the generated sdk ? (the package I'm working on is available here ) Thanks for the help :)
a
Hey @famous-television-17833, that sounds like a bug on our side. Can you please open an issue with the details of what you tried in the boilerplate repo?
f
Hi, sure. On which repo should I open the issue?
a
In the boilerplate repo should be fine: https://github.com/pulumi/pulumi-tf-provider-boilerplate
As a workaround you might be able to manually override the versions, e.g: https://github.com/gCyrille/pulumi-xenorchestra/blob/442b1c22ea97843153cba4b25f291ec87f143439/sdk/python/setup.py#L11C1-L11C8 for python
f
For the workaround, the problem is that the sdks are re-generated before building. I need to find another workaround
b
Is it possible to avoid this re-gen step?
f
I found a solution by editing the build_sdks workflow: https://github.com/gCyrille/pulumi-xenorchestra/pull/3/commits/275042b5f3ea61d1c3999c1915dcde1c1506a410 But that means I have need to manually generate and push the SDKs when there are changes. The CI will just build and publish them.
And... when doing "make ci-mgmt" the change will disappear ;)