Hi. Is there any way to export Pulumi to ARM templates?
01/20/2022, 9:26 AM
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.