pulumi/sdk/go
Pat Gavlin edc978d47c Improve resource ref unit tests.
- Add component ref coverage to the existing test
- Add coverage for a downlevel SDK communicating with an engine that
  supports resource refs
- Add coverage for a downlevel engine communicating with an SDK that
  supports resource refs

As part of improving coverage, these changes add a knob to explicitly
disable resource refs in the engine without the use of the environment
variable. The environment variable is now only read by the CLI.

Contributes to #5943.
2020-12-15 22:30:49 -08:00
..
common Improve resource ref unit tests. 2020-12-15 22:30:49 -08:00
pulumi Fix bug that could cause Go SDK to drop dependencies (#5930) 2020-12-11 16:27:11 -08:00
pulumi-language-go Refactor to add version check to pulumi new as well 2020-11-12 09:20:28 -08:00
x Drop unnecessary prefix in test output since we rely on go's testing to do the right thing 2020-11-17 23:24:08 -08:00
Makefile add auto tests to Makefile and fix up for CI 2020-08-23 21:36:21 -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.