https://pulumi.com logo
#golang
Title
g

gifted-city-99717

04/28/2020, 1:31 AM
Hi, are there any golang terraform provider (via tfbridge) examples out there? I haven’t seen any - I’m looking how to map Config and the Resources in the tfbridge.ProvideInfo struct to a port a grafana terraform provider… or more specifically in the generated (and commented-out) example helper functions like “makeType”
w

white-balloon-205

04/28/2020, 3:18 AM
You can look at providers like Pulumi-AWS, Pulumi-Azure and Pulumi-GCP for examples of more complex providers built on tfbridge. For example, see: https://github.com/pulumi/pulumi-aws/blob/master/provider/resources.go
b

billowy-army-68599

04/28/2020, 6:26 AM
I'm happy to help if you want to reach out via DM
g

gifted-city-99717

04/28/2020, 3:42 PM
doh yep. those were pointed out in the docs. thanks. I’ll take a look at those. I’ll DM you if I have questions, Thanks!
3 Views