pulumi/tests/testdata/codegen/go-overridden-internal-modu...
Julien 42257d8137
[Go] Allow specifying dependencies for output invokes (#17791)
Provider functions that take inputs as arguments, and return an output
(aka output invokes), now allow specifying a `dependsOn` option. This
allows programs to ensure that invokes are executed after things they
depend on, similar to the [`depdendsOn` resource
option](https://www.pulumi.com/docs/iac/concepts/options/dependson/).

https://github.com/pulumi/pulumi/discussions/17710

This PR introduces a new `Context.InvokeOutput` method that the
generated SDK code uses to call the invoke, and pushes secret and
dependency tracking back into the Go SDK instead of the generated SDK
code.

Stacked on https://github.com/pulumi/pulumi/pull/17818

Fixes https://github.com/pulumi/pulumi/issues/17752

---------

Co-authored-by: Justin Van Patten <jvp@justinvp.com>
2024-12-10 13:08:57 +00:00
..
go [Go] Allow specifying dependencies for output invokes (#17791) 2024-12-10 13:08:57 +00:00
schema.json Move codegen testdata (#15549) 2024-03-06 20:36:50 +00:00