pulumi/sdk/go
Aaron Friel 7897d81e71 chore: use a post-edit tidy to update go.sum 2023-01-24 18:16:44 -08:00
..
auto chore: use a post-edit tidy to update go.sum 2023-01-24 18:16:44 -08:00
common Merge #11920 2023-01-19 21:16:52 +00:00
pulumi ApplyT: Coerce new type wrappers 2023-01-19 12:50:50 -08:00
pulumi-language-go Clean up pkg/errors in go language host 2023-01-14 20:56:53 +00:00
Makefile ci: Enable testing of language version sets 2022-09-21 09:48:38 -07:00
README.md `pulumi update` => `pulumi up` (#2702) 2019-05-06 14:00:18 -07:00

README.md

Pulumi Golang SDK

This directory contains support for writing Pulumi programs in the Go language. There are two aspects to this:

  • pulumi/ contains the client language bindings Pulumi program's code directly against;
  • pulumi-language-go/ contains the language host plugin that the Pulumi engine uses to orchestrate updates.

To author a Pulumi program in Go, simply say so in your Pulumi.yaml

name: <my-project>
runtime: go

and ensure you have pulumi-language-go on your path (it is distributed in the Pulumi download automatically).

By default, the language plugin will use your project's name, <my-project>, as the executable that it loads. This too must be on your path for the language provider to load it when you run pulumi preview or pulumi up.