https://pulumi.com logo
Title
w

worried-knife-31967

05/22/2021, 8:07 AM
Has anyone tried creating a pulumi provider for grafana? As in opensource grafana rather than their cloud?
b

bored-oyster-3147

05/22/2021, 3:03 PM
If you find out let me know. I spent like a week and half dealing with their documentation (or lack thereof) setting up a distributed self-hosted grafana/Loki stack
p

purple-nail-36818

05/22/2021, 9:32 PM
I could be misunderstanding your intent or aspects of Pulumi itself, but this is the domain of a configuration management tool like ansible and packer, not an IaC tool like Pulumi. How these tools work best together towards your goal is: You create a grafana machine template using packer with ansible provisioner. You deploy the template into your cloud of choice with Pulumi.
w

worried-knife-31967

05/22/2021, 11:10 PM
I was referring to managing/creating dashboards in an instance using their API rather than building a machine that runs it.
I've got an almost workable Azure VM version of building a grafana instance with Pulumi that I'm hoping to blog about. Just trying to get the letsencrypt part working before I finish it off.
b

bored-oyster-3147

05/23/2021, 1:56 PM
Nice! We did ours in ECS. I did misinterpret your original comment. A provider to create dashboards / alerts & such would be useful.