pulumi/sdk/go
svangordon-fruit 3a276bdd5e
Don't return an error if DeleteAllAccounts failed because the creds file doesn't exist (#6741)
Co-authored-by: Paul Stack <public@paulstack.co.uk>
2021-04-11 14:49:42 +01:00
..
common Don't return an error if DeleteAllAccounts failed because the creds file doesn't exist (#6741) 2021-04-11 14:49:42 +01:00
pulumi Fix tests for builtins 2021-03-30 22:24:11 -07:00
pulumi-language-go Refactor to add version check to pulumi new as well 2020-11-12 09:20:28 -08:00
x Set main for default projects in Automation API (#6743) 2021-04-09 20:30:11 -07:00
Makefile Ensure that make brew works as expected rather than passing empty version (#6566) 2021-03-18 02:07:02 +00:00
README.md pulumi update => pulumi up (#2702) 2019-05-06 14:00:18 -07:00

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.