pulumi/tests/integration/python/parameterized
Will Jones 2eaea39641
Add support for parameterized invokes in Python (#16832)
Parameterization refers to the ability for a provider to vary its schema
based on a parameter that is passed to a new `Parameterize` call on the
provider interface. The package reference that is returned may then be
used to interact with the bespoke schema/packages within.
Paramterization is key to e.g. dynamically bridging providers. In this
instance we can manage and release a single "bridge" provider that
accepts a parameter defining the upstream provider to bridge, and
returns a reference to a dynamically constructed package whose schema
reflects the upstream as needed.

This commit adds support for calling parameterized `Invoke`s from the
Python SDK. As with resources, the `get_package()` utility function is
used to retrieve the parameter we bake into the SDK, before passing this
to the engine.
2024-07-29 14:51:07 +00:00
..
sdk/python Add support for parameterized invokes in Python (#16832) 2024-07-29 14:51:07 +00:00
Pulumi.yaml Python parameterized provider test (#16491) 2024-07-16 10:55:38 +00:00
__main__.py Add support for parameterized invokes in Python (#16832) 2024-07-29 14:51:07 +00:00
requirements.txt Python parameterized provider test (#16491) 2024-07-16 10:55:38 +00:00