pulumi/sdk
joeduffy 44c17e4877 Allow promise exports
This change partly addresses pulumi/pulumi#1611, by permitting you
to export a promise at the top-level, and have it be recognized as
a stack output. In other words, you can now say things like

    async function main() {
        ...
        return {
            a: "x",
            ...,
            z: 42,
        };
    }

    module.exports = main();

and your Pulumi program will record distinct outputs as you'd hope:

    ---outputs:---
    a: "x"
    ...
    z: 42

This is arguably just a bug in the way we implemented stack outputs.
The remainder of the requests in #1611 will remain open for future
design and discussion, as they have more subtle ramifications.
2018-09-02 10:41:04 -07:00
..
go Merge pull request #1698 from pulumi/ellismg/fix-1581 2018-08-08 14:16:20 -07:00
nodejs Allow promise exports 2018-09-02 10:41:04 -07:00
proto Implement first-class providers. (#1695) 2018-08-06 17:50:29 -07:00
python Use go env to resolve GOPATH but escape it properly 2018-08-13 10:54:20 -07:00
README.md Update stale README 2018-06-30 09:55:12 -07:00

Pulumi Language SDKs

This directory contains the Pulumi SDKs for all supported languages.

Please see the respective READMEs for information about installing and using these libraries:

The language providers work by implementing gRPC interfaces defined in proto/.