https://pulumi.com logo
Title
s

swift-ambulance-7102

01/02/2022, 8:41 PM
Anyone have a good walkthrough or a good article on creating a component for Pulumi? I have a couple I really would like to create and I am ready to get these out the door.
b

billowy-army-68599

01/02/2022, 8:47 PM
do you want a multi language component? or just a single language? Also what language are you aiming for?
s

swift-ambulance-7102

01/02/2022, 8:51 PM
I have one component that is in Python and one that is in Typescript but ideally I was "hoping" to create one that anyone would be able to use regardless of their language.
I have one for a VPC that I have transposed from Terraform, something I have put together over the years that I would like to say its awesome and I am ready to release it to the world. And then another for an HTTP API to Lambda. But more to come.
b

billowy-army-68599

01/02/2022, 9:02 PM
We don't have a guide, but these boilerplate repos are here to guide you: https://github.com/pulumi/?q=component-provider-boilerplate&type=all&language=&sort= This youtube video might help too, although this is written in Go

https://www.youtube.com/watch?v=_RXvNS5N8A8

s

swift-ambulance-7102

01/02/2022, 9:04 PM
Thank you. Any chance I might be able to hit you up later in the next couple days if I have additional questions?
b

billowy-army-68599

01/02/2022, 9:27 PM
yes please feel free!
that's why we're here
s

swift-ambulance-7102

01/12/2022, 10:00 PM
Sorry for the long delay. Going to update more documentation here: https://github.com/stephenbawks/aws-pulumi-http-lambda I actually think I found a bug in the API Gateway v2 Routes. Searched Github Issues and found someone with the same problem but this is almost done here.
Still working on the multi-language stuff.