pulumi/sdk
Joe Duffy be22e1164d Support SSH-style Git URLs
This adds support for SSH-style Git URLs, enabling folks to use
private repos for their templates.

For instance,

    $ pulumi new git@github.com:acmecorp/templates/website

will now work as intended.

The logic to find the SSH key depends on the well-known ~/.ssh/config
file when available (as that is typically how the ssh-agent is
configured for auth with the Git client), but falls back on other
common key names in the event that isn't configured.

If the SSH key is protected by a password, the user will be prompted
to supply the password on-demand. (It is memoized to avoid asking
multiple times, as the template workflow requires using it more than
once.) To avoid prompting, the PULUMI_GITSSH_PASSPHRASE envvar can
be set -- which is coincidentally the only option in non-interactive
modes.

Fixes #4872 and #5007.
2023-05-03 16:58:49 -07:00
..
go Support SSH-style Git URLs 2023-05-03 16:58:49 -07:00
nodejs Fix brittle test case. 2023-04-28 18:53:02 -04:00
proto/go proto/ConstructRequest: Add resource options fields 2023-04-21 10:57:19 -07:00
python proto/ConstructRequest: Add resource options fields 2023-04-21 10:57:19 -07:00
README.md Cleanup sdk/README.md 2023-01-03 17:12:12 -05:00
go.mod feat(go/host): Support vendored dependencies 2023-04-24 09:49:16 -07:00
go.sum feat(go/host): Support vendored dependencies 2023-04-24 09:49:16 -07: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.