https://pulumi.com logo
#package-authoring
Title
# package-authoring
m

microscopic-afternoon-22702

02/15/2024, 7:38 PM
How reasonable would it be for me to use the pulumi bridge provider to convert and maintain an open source Terraform module that I don't own. I assume it isn't that easy is it?
I think a better idea to wrap pulumi around it would be to just use a custom resource.
l

limited-rainbow-51650

02/16/2024, 10:40 AM
Is it a Terraform module, or a Terraform provider you are talking about?
m

microscopic-afternoon-22702

02/16/2024, 2:27 PM
module
I'd like to just manage it along side some pulumi infra.
l

limited-rainbow-51650

02/16/2024, 2:45 PM
The pulumi bridge is only applicable when bridging Terraform providers. You can use the
pulumi convert
option to convert the module code to Pulumi: https://www.pulumi.com/blog/converting-full-terraform-programs-to-pulumi/ Then, create a new repo from our go component boilerplate repo and add this generated code to it: https://github.com/pulumi/pulumi-component-provider-go-boilerplate This looks like a provider as well, but it only offers one or more components. You can generate all the language SDKs from it to let users consume these in any of the Pulumi supported programming languages.
m

microscopic-afternoon-22702

02/16/2024, 2:46 PM
Ahh ok gotcha!
3 Views