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

magnificent-kitchen-5558

01/20/2022, 8:22 AM
Hi. Is there any way to export Pulumi to ARM templates?
e

echoing-dinner-19531

01/20/2022, 9:26 AM
No. In general this is impossible to do because Pulumi programs are actual programs and so the logic that runs can very easily use things that are just not possible to translate to things like ARM (or HCL or any other template language). You could possibly write something to take a Pulumi state file and translate that to an ARM template but you would lose all the linkages of how fields we're set based on other fields (N.b. the dependency information is there but the logic isn't, see above) and given the very limited use of that I don't know of anyone doing the work to support that.
m

magnificent-kitchen-5558

01/21/2022, 6:11 AM
Thanks for the answer.
2 Views