This message was deleted.
s
This message was deleted.
e
In general it's pretty much impossible to go the other way because Pulumi programs are real programs and you can't in general translate typescript/go/C# to terraform/cloudformation/yaml etc.
r
I guess I was considering the translation of the output to an alternate form. i.e. after the Pulumi plans execution it writes the output instead of performing the operations against the provider. But it seems likely this isn’t an option. It probably would require a good amount of work and I don’t imagine Pulumi is highly incentivized to create a mechanism to leave easier
e
It's also in general impossible if there's any dependencies between the resources. If resource B uses a value from resource A in one of it's inputs we don't know the value of that until we actually create resource A and run the code to get the input value.
Best you can get is a snapshot of the current state of your infrastructure, but that doesn't tell you what the dataflows are if you wanted to change anything.
r
Okay that makes sense. Thanks for the answer! I appreciate it