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

ambitious-computer-3093

07/18/2023, 4:40 AM
hi can i get something clarified about Pulumi. Does it perform a transpilation process from say Python code to Terraform code/HCL then deploys? similar to the way the AWS CDK works or does it just work directly with the APIs without the intermediate transpilation step?
l

little-cartoon-10569

07/18/2023, 4:43 AM
The latter
No transpilation.
a

ambitious-computer-3093

07/18/2023, 4:45 AM
awesome thanks! as the Terraform CDK does that and converts the code to a bunch of Terraform templates. Even Azure bicep does the extra transpile step
l

little-cartoon-10569

07/18/2023, 4:46 AM
Yep. The Pulumi engine (well, the plugins associated with the providers, invoked by the engine) make API calls directly.
a

ambitious-computer-3093

07/18/2023, 4:46 AM
ok thanks for clarifying 🙂
l

little-cartoon-10569

07/18/2023, 4:47 AM
Some providers' SDKs are built from Terraform providers. For example, the AWS Classic provider. This also builds the docs for the provider, which is why you see references to Terraform, and examples in the docs that look like Terraform HCL.
a

ambitious-computer-3093

07/18/2023, 4:47 AM
ok thanks