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

full-dress-10026

09/24/2018, 5:56 PM
Does Pulumi use Terraform?
c

creamy-potato-29402

09/24/2018, 5:56 PM
AWS, Azure, and GCP do. Kubernetes does not.
f

full-dress-10026

09/24/2018, 5:57 PM
Ah interesting. Are there any docs on how it uses it?
c

creamy-potato-29402

09/24/2018, 5:58 PM
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

full-dress-10026

09/24/2018, 6:00 PM
Cool, thanks.
b

big-piano-35669

09/24/2018, 6:05 PM
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

full-dress-10026

09/24/2018, 6:06 PM
Is the reasoning behind this because it was easier to do that than to bind directly to the AWS APIs?