The Easier Way to Create Pulumi Providers in Go
Blog post from Pulumi
The updated Pulumi Provider Boilerplate, now incorporating the new Pulumi Go Provider SDK, simplifies the implementation of custom providers by reducing the complexity involved in defining a provider's schema, CRUD operations, and SDK code generation. This update does not affect existing providers using older versions of the repository. The streamlined process allows developers to focus on defining provider metadata, resources, and functions in Go, with the Pulumi CLI handling SDK code generation through a single command. The boilerplate provides a concise entry point and detailed resource implementation examples, emphasizing the ease of the new authoring experience, which is expected to appeal even to those who previously found provider creation challenging. Additionally, an example of a command provider rewritten using the Pulumi Go Provider library demonstrates the improvements and is available for comparison on GitHub.