pulumi/sdk
Thomas Gummerer 9a50879453
pass correct working directory to RunPlugin (#17763)
RunPlugin expects the working directory of the program to be passed in
in the plugin request. This was the case until
https://github.com/pulumi/pulumi/pull/15191. In that PR we switched from
passing pwd (which is the same as `ctx.Pwd` a layer above) to
minfo.GetProgramDirectory(), which is the path from which the plugin is
executed. Fix this by passing in `info.WorkingDirectory`, which a layer
above is `ctx.Pwd`.

Add a test for this as well to make sure we're not regressing this
again.

Likely nobody noticed this, because most plugins probably don't rely on
this path, and most providers are not being run using `RunPlugin`.
2024-11-14 22:10:28 +00:00
..
go pass correct working directory to RunPlugin (#17763) 2024-11-14 22:10:28 +00:00
nodejs Prepare for v3.139.0 release (#17771) 2024-11-14 18:05:43 +00:00
proto/go Document more provider methods (#17683) 2024-11-06 16:54:04 +00:00
python Prepare for v3.139.0 release (#17771) 2024-11-14 18:05:43 +00:00
.version Prepare for v3.139.0 release (#17771) 2024-11-14 18:05:43 +00:00
README.md Cleanup sdk/README.md 2023-01-03 17:12:12 -05:00
go.mod fix dll loading errors in windows CI (#17410) 2024-10-02 08:43:42 +00:00
go.sum fix dll loading errors in windows CI (#17410) 2024-10-02 08:43:42 +00:00
version.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00

README.md

Pulumi Language SDKs

This directory contains Pulumi SDKs for the following languages:

See the respective READMEs for information about installing and using these libraries.

The language providers work by implementing gRPC interfaces defined in the top level directory proto.