Does Pulumi use Terraform?
# general
f
Does Pulumi use Terraform?
c
AWS, Azure, and GCP do. Kubernetes does not.
f
Ah interesting. Are there any docs on how it uses it?
c
Hmm, I’m not sure if there are other things, but there’s this: • https://pulumi.io/reference/how.htmlhttps://pulumi.io/reference/vs/terraform.html
For Kubernetes, it depends only on kubernetes/client-go
f
Cool, thanks.
b
TL;DR, Pulumi uses the Terraform providers for CRUD operations. Our TF bridge effectively implements this gRPC interface https://github.com/pulumi/pulumi/blob/master/sdk/proto/provider.proto by fusing those methods with TF's CRUD APIs, with the schema translation necessary to map Pulumi's type system (TypeScript, Python, etc). Note that Pulumi doesn't actually use Terraform's engine, state files, or anything like that.
f
Is the reasoning behind this because it was easier to do that than to bind directly to the AWS APIs?