https://pulumi.com logo
#general
Title
# general
s

steep-portugal-37539

08/11/2022, 8:44 PM
Hey guys 🙂 is it possible to convert pulumi code to terraform ? instead of only the other way around?
b

billowy-army-68599

08/11/2022, 8:47 PM
you can’t convert Pulumi code to tf, there’s too much expressibility in the language
s

steep-portugal-37539

08/11/2022, 8:49 PM
Thank you!
s

salmon-account-74572

08/11/2022, 8:55 PM
If you don’t mind me asking: what are you trying to do that leads you to ask this question?
s

steep-portugal-37539

08/11/2022, 10:39 PM
sure. i have a client that i wrote pulumi code for. but they are saying they want actual terraform 🤷 so i was curious if we can convert it
s

salmon-account-74572

08/11/2022, 10:41 PM
Gotcha. Yeah, you can go from TF to Pulumi, but not the other way around. Good luck!
s

steep-portugal-37539

08/18/2022, 9:37 PM
@salmon-account-74572 @billowy-army-68599 any way we can view the underlying terraform that pulumi is using to deploy?
b

billowy-army-68599

08/18/2022, 11:11 PM
@steep-portugal-37539 there is no underlying terraform. it doesn’t work that way
there is no way to go from pulumi -> terraform
s

steep-portugal-37539

08/19/2022, 12:00 AM
🙏