pulumi/sdk/go
Kyle Dixler 9028a02726
allow `pulumi destroy -s <stack>` if not in a pulumi project dir (#9918)
* pulumi destroy -s <stack> now works as long as you are not in a pulumi project directory
2022-07-11 08:28:53 -07:00
..
auto Update all references to pulumi so that source-map-support isn't deprecated anymore (#10032) 2022-07-01 20:31:57 +02:00
common allow `pulumi destroy -s <stack>` if not in a pulumi project dir (#9918) 2022-07-11 08:28:53 -07:00
pulumi Revert "Send smart aliases via gRPC to engine (#9731)" (#9999) 2022-06-29 13:18:14 +01:00
pulumi-language-go Poll gRPC healthchecks to auto-cancel sub-processes (#9735) 2022-06-06 13:28:00 +01:00
Makefile Remove PROJECT_ROOT Make var (#9953) 2022-06-24 10:04:40 -04: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.