https://pulumi.com logo
#python
Title
# python
w

worried-helmet-23171

01/17/2024, 10:15 AM
Is there a way to take a pulumi program and render the equiv. Pulumi yaml?
m

millions-furniture-75402

01/17/2024, 3:19 PM
Last I checked you couldn't go general purpose language to YAML
Yeah, actually the snarfed information contains as much:
Copy code
Valid source languages: yaml, terraform, bicep, arm
Valid target languages: typescript, python, csharp, go, java, yaml
b

bumpy-glass-30283

01/18/2024, 10:06 AM
afaik this is because pulumi yaml is not as capable as the other language based ones
m

millions-furniture-75402

01/18/2024, 3:09 PM
In an ideal world, the convert tool would use the calculated dependency graph to redeclare the resources, but maybe I'm being optimistic and that's super difficult to implement.