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

lemon-angle-60291

03/07/2024, 3:56 PM
Hey pulumiverse! First of all thanks for picking up the grafana provider 🙂 I've raised an issue to get the underlying terraform provider upgraded to 2.13.0 from the current 1.43.1 (https://github.com/pulumiverse/pulumi-grafana/issues/113), however I was wondering if there was a guide on how to do this as I'd love to help contribute
b

big-architect-71258

03/07/2024, 4:02 PM
@lemon-angle-60291 had a quick look and the Grafana provider is now using the Terraform Plugin Framework. The currently mapped provider version is using the older Terraform Plugin SDK v2. This is a major upgrade, because it must be mapped via the
pf
module of Terraform Bridge. @ancient-policeman-24615 @enough-garden-22763 do we have a description in place how to upgrade a SDKv2 provider to a PF provider? Or is https://github.com/pulumi/upgrade-provider capable of performing this upgrade. Oh and on top: the Pulumi Grafana provider requires a shim.
e

enough-garden-22763

03/07/2024, 4:11 PM
Hi Thomas and Thomas, hope this finds you well! We do in fact have some notes in https://github.com/pulumi/pulumi-terraform-bridge/blob/master/pf/README.md?plain=1#L119
As to automation I don't think it's in place yet. I have a sense the notes might have gotten a tad out of date, perhaps this is our opportunity to support you and update them.
b

big-architect-71258

03/07/2024, 4:13 PM
@enough-garden-22763 I should definitely run a
find . -name '*.md'
in the Bridge repo. 😄 Thanks for pointing us in the right direction!
@lemon-angle-60291 With the
README.md
you should be ready to go 🙂 to try an upgrade of the Grafana provider. If you run into issues post them here. We're happy to help.
l

lemon-angle-60291

03/07/2024, 5:12 PM
Awesome, thanks both for your help! I'll give it a go ❤️
I've raised a PR to do the upgrade - https://github.com/pulumiverse/pulumi-grafana/pull/114 It turns out that the Grafana Terraform provider supports both the plugin framework and the sdk so I was able to do the version bump without the migration.
When I find some time, and if no one beats me to it, I'll also try to move from supporting sdk to framework
b

big-architect-71258

03/08/2024, 2:32 PM
@lemon-angle-60291 onboarding of the provider to Pulumiverse is not completely finished and I don't know who are the maintainers. @limited-rainbow-51650 @cuddly-flower-91328 what's the plan here? Maintainers? Pulumiverse Board Members? Didn't see someone assigned in PR 163
l

limited-rainbow-51650

03/08/2024, 2:38 PM
@big-architect-71258 I'm the maintainer of the migrated grafana provider. Now bear with me, we migrated 3 providers all at once and I had to execute the namespace changes, publishing etc this week. I will start with getting them up to date slowly. Co-maintainers welcome though!
@big-architect-71258 btw, why do you think the migration is not completely finished?
b

big-architect-71258

03/08/2024, 2:40 PM
@limited-rainbow-51650 Sorry if my post sounded harsh or something. Blame it to my German nature 🙂 > @big-architect-71258 btw, why do you think the migration is not completely finished? The PR isn't merged yet.
l

limited-rainbow-51650

03/08/2024, 2:40 PM
Which PR?
b

big-architect-71258

03/08/2024, 2:40 PM
Do I confuse here something?
l

limited-rainbow-51650

03/08/2024, 2:42 PM
That PR is only needed to bring the repositories under the Pulumi managed IaC setup of
pulumiverse
github organization. Each of these providers are updated and re-published from Pulumiverse including migration docs: https://www.pulumi.com/registry/packages/grafana/installation-configuration/#migrating-from-the-lbrlabs-package Nobody should be blocked here.
b

big-architect-71258

03/08/2024, 2:43 PM
That's what I meant. So you got confused by my wording. Sorry. But who will approve the PR of @lemon-angle-60291?
l

limited-rainbow-51650

03/08/2024, 2:44 PM
Me, when I get the time. (FYI: this is community and not part of my job description at Pulumi Corp)
I merged the PR and tagged v0.3.0. Release: https://github.com/pulumiverse/pulumi-grafana/releases/tag/v0.3.0
The Pulumi Registry has a cron based mechanism to check for new releases of third party providers. Within a few hours, this new release will be detected and a preview of the new docs will get published in a PR. I’ll make sure that Registry PR gets merged as well.
l

lemon-angle-60291

03/10/2024, 11:29 PM
Thanks Ringo!