pulumi/changelog
Will Jones b842c7296f
Support code generation for parameterized imports
This adds support to `pulumi import` for generating code for resources
from parameterized packages.

This requires two things. Firstly we need the whole state when
generating code so we can look up providers (there was a very old `TODO`
comment that we should have been doing this anyway so we used the
correct package versions). Looking up the provider means we can pull all
the package information off it to look up the schema correctly.

We also emit that package information to the generated PCL as package
blocks, so that the language code generator also has full access to the
package information so it can correctly load schemas inside its
`GenerateProgram` call.

Part of #17507
2025-01-09 16:21:45 +00:00
..
pending Support code generation for parameterized imports 2025-01-09 16:21:45 +00:00
config.yaml Make pulumi install work for policy packs (#16438) 2024-06-21 19:19:21 +00:00