Skip to content

Direct Provider Implementation ​

This section covers implementing Pulumi providers directly using the generated gRPC bindings—Layer 2 in the provider architecture.

When to use direct implementation ​

Direct implementation gives you full control over provider behavior without SDK opinions. Choose this approach when your language lacks a higher-level SDK (such as Python or TypeScript), when you need precise control over Check/Diff/Update behavior, when you're building something unusual that doesn't fit standard patterns, or when you want to understand exactly how providers work at the protocol level.

What you'll need ​

You'll need gRPC bindings for your language (generated from provider.proto), a hand-written schema defining your resources and their properties, and implementations of the provider interface methods.

Trade-offs ​

AspectDirect implementationHigher-level SDK
ControlFullFramework-guided
BoilerplateMoreLess
SchemaHand-written JSONInferred from code
Learning curveProtocol knowledgeSDK patterns

Guides ​

Learn more ​

Content from the official Pulumi documentation (github.com/pulumi/docs).