Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
1.5 KiB
Markdown
Raw Permalink Normal View History

2022-04-06 18:43:54 -07:00
---
2023-06-02 21:41:36 -07:00
title_tag: "Pulumi vs. Cloud Template Transpilers"
meta_desc: Learn about the major differences between Pulumi and cloud template transpiler solutions like AWS CDK and Troposphere.
title: Cloud Template Transpilers
h1: Cloud Template Transpilers
2023-06-08 16:15:52 -07:00
meta_image: /images/docs/meta-images/docs-meta.png
2022-04-06 18:43:54 -07:00
aliases:
- /docs/intro/vs/cloud_template_transpilers/
2022-04-06 18:43:54 -07:00
---
Because of [the challenges of writing raw YAML/JSON by hand](/docs/concepts/vs/cloud-templates), two notable
2022-04-06 18:43:54 -07:00
projects exist to compile higher-level languages into AWS CloudFormation YAML/JSON templates: Troposphere, a community-led open source project created in 2013; and AWS Cloud Development Kit (CDK), an AWS Labs project created in 2018.
Similar to Pulumi, these projects allow you to author infrastructure as code using general-purpose languages like TypeScript,
JavaScript, and Python. Unlike Pulumi, however, whose open-source engine understands these languages, a _transpiler_
(a.k.a., [_source-to-source compiler_](https://en.wikipedia.org/wiki/Source-to-source_compiler)), translates this code
into [AWS CloudFormation](/docs/concepts/vs/cloud-templates/cloudformation/). The resulting file and related assets are then submitted to the closed-source AWS CloudFormation servers to provision infrastructure on AWS in the usual ways.
2022-04-06 18:43:54 -07:00
To learn more about how Pulumi compares to some of these services in detail, see the following comparison docs:
* [Pulumi vs. AWS Cloud Development Kit (CDK)](/docs/concepts/vs/cloud-template-transpilers/aws-cdk)