https://pulumi.com logo
#pulumiverse
Title
# pulumiverse
c

cuddly-engineer-30016

03/26/2024, 7:42 AM
Hi folks. This might be a bit of a pedantic question but I can't figure out why in this PR (https://github.com/pulumiverse/pulumi-grafana/pull/101) and in this line(https://github.com/pulumiverse/pulumi-grafana/pull/101/files#diff-72c99d9127ec8307ece2788d31f2435c3e038350e471e0d880cbd4372f50d0cbL6), the version for the terraform grafana provider was changed to a pseudo version. This aligns with when the grafana provider was upgraded to v2.0.0(https://github.com/grafana/terraform-provider-grafana/releases/tag/v2.0.0). The PR was made by @ jaxxstorm but since he said that he is no longer working on the project, I am not pinging him directly. Moreover, @lemon-angle-60291 added some comments to his PR (https://github.com/pulumiverse/pulumi-grafana/pull/114) where he mentions that the version is incompatible with Go module versioning but I still don't understand why the versions are incompatible. Could someone please help me understand?
l

limited-rainbow-51650

03/26/2024, 3:27 PM
@cuddly-engineer-30016 I took over the maintenance of the provider. This pseudo version puzzled me as well and I'm trying to get rid of it, together with the
shim
setup.
I think I have it working without pseudo versions. https://github.com/pulumiverse/pulumi-grafana/pull/126
c

cuddly-engineer-30016

03/26/2024, 5:08 PM
Any thoughts on why it was added in the first place? Its not like the terraform provider was using a non sematic versioning...
l

lemon-angle-60291

03/26/2024, 11:02 PM
I'm not sure exactly why the pseudo versioning was used in the first place. I used it because I was having difficulties trying to import the provider using v2 semantic versions - I've not used go in a while and clearly forgot how module versioning worked! I was, and still am, new to Pulumi and contributing to packages so I was afraid to touch things - which is why the shim was still in use!
Also sorry for the slow reply on this, I saw it and then work go in the way
c

cuddly-engineer-30016

03/27/2024, 6:24 AM
Gotcha, thanks for the responses folks. Much appreciate it