pulumi/sdk
Fraser Waters 59fcba1b7b
Support parameterized packages in `pulumi import`
The `pulumi import` command allows users to import existing provider
resources into a Pulumi stack, accepting the type of resource to import,
a name for the resource that will be created in the stack, and some "ID"
that identifies the existing resource in the provider. Historically, the
type has been sufficient to infer which provider offers the resource,
since package names were in a one-to-one correspondence with plugin
names. Now that we support parameterized providers, however, this is no
longer the case -- we might wish to import a `random:index/id:Id`, but
where the `random` package is a dynamically-bridged instance of the
Terraform `random` provider produced by the `terraform-provider` plugin.

This change makes `import` aware of parameterizations by letting it deal
with fully-specified package descriptors, as opposed to just plugin
specifications. In doing so, `import` can now support importing
parameterized resources. That said, it still does not support code
generation for such imports (that is, `--generate-code` must be set to
`false`) -- this will come in a later change.

Part of #17507
2025-01-08 11:19:35 +00:00
..
go Support parameterized packages in `pulumi import` 2025-01-08 11:19:35 +00:00
nodejs Freeze v3.145.0 (#18143) 2025-01-07 13:03:36 +00:00
proto/go Document provider Diff response requirements (#18032) 2024-12-16 11:10:28 +00:00
python Fix TestListPackages (#18182) 2025-01-07 17:29:40 +00:00
.version Freeze v3.145.0 (#18143) 2025-01-07 13:03:36 +00:00
README.md Cleanup sdk/README.md 2023-01-03 17:12:12 -05:00
go.mod auto/go: interrupt programs gracefully on context cancel (#18124) 2025-01-02 11:38:28 +00:00
go.sum auto/go: interrupt programs gracefully on context cancel (#18124) 2025-01-02 11:38:28 +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.