This message was deleted.
# general
s
This message was deleted.
d
I’m trying to wrap my head around what it would take to get https://github.com/splunk/terraform-provider-splunk working with Pulumi.
g
We have https://github.com/pulumi/pulumi-tf-provider-boilerplate which is meant to help with this. If you try that and have any questions, let us know!
d
Ah, yes. Knowing enough to be dangerous as they say, I went through the instructions and then realized there is a manual step of modeling the Terraform provider into the Pulumi provider. I was thinking it was a bit more seamless.
Unfortunately my go skills don’t go past the “A Tour of Go” exercises … 🙂
b
@dry-engine-17210 I can probably help here next week
it's easier than you think 😄
d
I would love that!
s
I could make use of a pulumi_splunk @billowy-army-68599
(It was in my to do list but I’d you get there first then even better 😉)
d
I’m around today if you are still up for this!
b
Hey Matt! @broad-dog-22463 and I were discussing this, can we jump on a call? grab some time from my calendar and we can discuss: https://calendly.com/leebriggs58/catchup
d
Done!
b
Hi @dry-engine-17210 Just to give you an update here - after your call with @billowy-army-68599 yesterday, he and I talked and we have created a provider. We are just running the tests right now before we publish it and the docs
d
Sweet! I am going to give it a whirl soon!
b
no worries - let me know how it goes! It works against the docker container in the testing/docker-compose.yml file
d
👍
Just ran a quick smoke test and made some indexes. Lookin’ good!
Now contemplating how one can build they Splunk server in GCP and have it wait until it is available to start then using the REST API against it once the service is up and ready… https://pulumi-community.slack.com/archives/C84L4E3N1/p1608747416497300
IE. in the same stack
b
If you check out the provisioners example in https://github.com/pulumi/examples/tree/master/aws-ts-ec2-provisioners then that can give you an example
d
Ah, yes. Looking at the Python example and it appears one must go down the metaprogramming rabbit hole…
Ok, tried to crib something together based upon the example but not working unfortunately… https://gist.github.com/mhite/c3e6bad86e41184430fb23fef5f7dcc4
Admittedly I’m not deeply fluent in the underlying sdk so I’m taking liberties trying to adapt the example
basically the idea is that it will create a placeholder resource if it can successfully retrieve an http endpoint