https://pulumi.com logo
Title
b

bumpy-summer-9075

05/26/2021, 12:42 PM
Is there a Pulumi equivalent to https://registry.terraform.io/browse/modules and/or a way to use TF modules with Pulumi?
b

brave-planet-10645

05/26/2021, 12:46 PM
If you're using AWS, there's Crosswalk (aks AWSX): https://www.pulumi.com/docs/guides/crosswalk/aws/
Are you looking to build your own or build on some pre-built resources?
b

bumpy-summer-9075

05/26/2021, 12:48 PM
Specifically I'm using https://github.com/npalm/terraform-aws-gitlab-runner with TF and would prefer to use Pulumi with it, but generally am more interested in community provided modules/componentresources 🙂
b

brave-planet-10645

05/26/2021, 12:50 PM
We don't have anything like that yet. With the recent announcement of Pulumi packages and the ability to build cross-language component resources, I suspect you'll start to see more and more but there's nothing specific yet
👀 1
b

bumpy-summer-9075

05/26/2021, 12:57 PM
Interesting stuff. I was actually asking because I'm working on a self-hosted Gitlab instance ComponentResource, and was wondering how to share it. I did consider that using TS would mean that only people using Pulumi with TS would be able to use it. I'll definitely stay on the lookout for Pulumi Packages. To be entirely honest, I'm not quite convinced about the current implementation (based on jaxxstorm's blog post), it seems to add quite a bit of friction on the package developer's side, and it would only get worse if Pulumi were to support additional languages.
b

brave-planet-10645

05/26/2021, 1:01 PM
Just out of question, which bit doesn't quite convince you?
b

bumpy-summer-9075

05/26/2021, 1:02 PM
There are language dependent parts to the schema.
I understand why, and I don't know how that can be abstracted away, but if I write, say, a package using TS, it means that I need to be aware of each language's ecosystem, and potentially test all of them.
b

brave-planet-10645

05/26/2021, 1:04 PM
The schema will probably stay, but more than likely it'll be autogenerated so you won't necessarily have to manually update it
b

bumpy-summer-9075

05/26/2021, 1:05 PM
Well then I'm convinced 😛
b

broad-dog-22463

05/26/2021, 2:44 PM
Hey @bumpy-summer-9075 do you know how well used this module is in TF? Maybe we can build something similar!
b

bumpy-summer-9075

05/26/2021, 2:47 PM
I'm not sure, the only stat I can see is "Total provisions: 89.3K"
To give some perspective, it's on page 12 of the TF registry: https://registry.terraform.io/browse/modules?page=12
b

broad-dog-22463

05/26/2021, 2:50 PM
I am looking at it now
Would you be interested in hopping on a call Tuesday morning your time to talk about this @bumpy-summer-9075? I think I can build this as a new "Pulumi package"
b

bumpy-summer-9075

05/26/2021, 2:59 PM
Absolutely! The first package I was thinking about writing was a self-hosted Gitlab instance on AWS, and gitlab-runners being a close second (the equivalent of https://github.com/npalm/terraform-aws-gitlab-runner)
b

broad-dog-22463

05/26/2021, 3:20 PM
when are you free on Tuesday morning? Wanna send me an invite - paul@pulumi.com
👍 1