This message was deleted.
# general
s
This message was deleted.
l
Fundamentally, Pulumi is a more powerful model than terraform. Not everything expressible in Pulumi is expressible in terraform given that Pulumi uses full programming languages and terraform uses a DSL.
In addition, for some things like our native kubernetes provider and azure-nextgen, there are no terraform equivalents.
If you run
pulumi stack export
you can see the json representation of resource state. If you're using TF compatible providers, I imagine you could translate that JSON into terraform with some effort but we don't provide any tooling to do this directly.
b
Is there any missing functionality in particular you're concerned about?
b
Not concerned about anything specific right now since we're just starting out. Our main concern is therfore the unknowns. If there was an escape hatch, I see no reason to not use Pulumi.
If you're using TF compatible providers, I imagine you could translate that JSON into terraform with some effort but we don't provide any tooling to do this directly
This is basically why I was hoping that a Pulumi-to-TF bridge could exist. Not clear how the programming model affects the possibility of translating to TF configuration.
b
I will say we have a lot of startups using Pulumi (some are even using our products as a core part of their product) and some very large companies invested in our success using us for their production workloads. if there's anything we can do to help those concerns please let us know
b
absolutely! Thanks for the quick response either way, @lemon-agent-27707 and @billowy-army-68599. Will ping again if I specific questions/concerns.
s
The programming model is important - Pulumi can do things terraform fundamentally can not.
So a general purpose transpiler (which is what you’re asking for - not a bridge) cannot exist.
b
@stocky-spoon-28903: My bad - I knew what I was asking was a transpiler, but thought "bridge" was more standard in this community from reading this.
Pulumi can do things terraform fundamentally can not.
@lemon-agent-27707 /@stocky-spoon-28903: Are examples of this documented somewhere? Will greatly help me convince my team to go with Pulumi instead of Terraform.
c
l
Pulumi also has Automation API which is an SDK that allows you to orchestrate deployments and stacks in the same language as the pulumi program. Lets you do things like run pulumi in an online service, web server, etc: https://www.pulumi.com/blog/automation-api/
👍 1