pulumi / pulumi-azure

A Microsoft Azure Pulumi resource package, providing multi-language access to Azure
Apache License 2.0
132 stars 50 forks source link

Export to ARM template #617

Open MisinformedDNA opened 4 years ago

MisinformedDNA commented 4 years ago

Is it possible to transpile to an Azure ARM template?

Management is concerned that Pulumi goes away (i.e. stops supporting/updating) and we have to redo everything.

lukehoban commented 4 years ago

Is it possible to transpile to an Azure ARM template?

It is not currently possible to transpile to ARM templates, though it's something that we should track as a future addition, similar to https://github.com/pulumi/pulumi-kubernetes/issues/29. This would put significant limits on what you could do with Pulumi, but would allow for interop with existing ARM deployment processes that require templates instead of ARM API calls.

Management is concerned that Pulumi goes away (i.e. stops supporting/updating) and we have to redo everything.

Note that you can export an Azure Resource Group to an ARM template, so you can always "leave" Pulumi if you feel you need to by exporting your deployed resources into an ARM template and managing from that instead. For business continuity purposes, this should offer the same benefits as Pulumi emiting ARM directly.

MisinformedDNA commented 4 years ago

Azure's "Export ARM template" is a poor feature as it does not export everything and is generally a mess.

clstokes commented 4 years ago

@MisinformedDNA, the Pulumi SDK and providers are free and open-source so they will be around forever. From a commercial perspective, Pulumi is well funded, growing rapidly, and is trusted by some of the world's best brands (a few of which are showcased on our homepage at https://www.pulumi.com/). We'd be happy to speak with you and your management to address their concerns in more detail. Please send us a note at team@pulumi.com.

masters3d commented 3 years ago

Are there plans to export to ARM in addition to import ARM? https://www.pulumi.com/blog/announcing-nextgen-azure-provider/