pulumi/sdk/go
Abhinav Gupta 99a3f18ee4
sdk/go/plugin: Fix data race between Configure and Delete
The data race results from Delete accessing configuration
before Configure has been called.

The immediate fix for this is to fix the call ordering.

A longer term fix is to make it impossible
to access configuration before Configure is called.

Resolves #11971
2023-01-24 16:55:36 -08:00
..
auto Merge #11819 #11834 #11842 #11845 2023-01-12 20:11:42 +00:00
common sdk/go/plugin: Fix data race between Configure and Delete 2023-01-24 16:55:36 -08: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.