pulumi/sdk/go
Fraser Waters 213711f1a4 Remove pkg/errors 2024-09-06 14:27:51 +01:00
..
auto add the attach-debugger flag to automation API (#17175) 2024-09-05 11:19:01 +00:00
common Remove pkg/errors 2024-09-06 14:27:51 +01:00
internal Prepare golangci-lint upgrade (#17065) 2024-08-28 07:57:38 +00:00
property Property map keys are just strings (#15767) 2024-03-25 17:26:41 +00:00
pulumi debugging: more consistency for naming (#17152) 2024-09-04 10:36:45 +00:00
pulumi-language-go Changelog and go.mod updates for v3.131.0 (#17166) 2024-09-05 07:07:48 +00:00
pulumix Use EqualError/ErrorContains instead of Error (#14737) 2023-12-08 06:40:14 +00:00
Makefile sdk/go: fix test_fast Makefile target (#16811) 2024-07-26 10:25:04 +00: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.