pulumi/tests/testprovider
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
..
.gitignore test: schema support for testprovider (#15829) 2024-04-12 20:38:49 +00:00
PulumiPlugin.yaml Engine and Golang support for shimless providers 2022-11-14 11:25:41 +00:00
component.go Test setting and changing providers on component resources via transforms (#16022) 2024-04-23 15:20:43 +00:00
echo.go Add support for parameterized invokes in Python (#16832) 2024-07-29 14:51:07 +00:00
fails_on_create.go Add support for parameterized invokes in Python (#16832) 2024-07-29 14:51:07 +00:00
fails_on_delete.go Add support for parameterized invokes in Python (#16832) 2024-07-29 14:51:07 +00:00
main.go Add support for parameterized invokes in Python (#16832) 2024-07-29 14:51:07 +00:00
random.go Add support for parameterized invokes in Python (#16832) 2024-07-29 14:51:07 +00:00