mirror of https://github.com/pulumi/pulumi.git
2dc683f8c5
* Retry plugin downloads We occasionally see network issues (most notably "tls: bad record MAC") during plugin downloads. When grabbing plugins for codegen we already had some retry logic. This shares that retry logic to the pulumi plugin install command and the engine. Fixes #9824 Note, plumbing in the progress bar and support for printing about retries is a little bit odd but we're going to have to totally rethink this interface at some point when the engine gets put behind a gRPC interface and all the display logic has to be ripped out. So it works good enough for now. * Add to CHANGELOG * lint * Finish comment |
||
---|---|---|
.. | ||
auto | ||
common | ||
pulumi | ||
pulumi-language-go | ||
Makefile | ||
README.md |
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
.