mirror of https://github.com/pulumi/pulumi.git
2eaea39641
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. |
||
---|---|---|
.. | ||
.gitignore | ||
PulumiPlugin.yaml | ||
component.go | ||
echo.go | ||
fails_on_create.go | ||
fails_on_delete.go | ||
main.go | ||
random.go |