mirror of https://github.com/pulumi/pulumi.git
b747bf0817
This change adds the Organization that a resource is being deployed into to the Check RPC call. This allows a resource provider to use that information. As far as I can tell, there's no easy way to obtain this information otherwise (the organization unfortunately isn't part of the URN, for example). We have similarly added it to other RPC calls like Call and Construct. It's possible we should just preemptively add this to all resource-related APIs. (Once we decide on that, I'll add the relevant tests; I needed this to unblock myself.) |
||
---|---|---|
.. | ||
auto | ||
common | ||
internal | ||
property | ||
pulumi | ||
pulumi-internal/netutil | ||
pulumi-language-go | ||
pulumix | ||
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
.