mirror of https://github.com/pulumi/pulumi.git
cfd7ce00ef
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/). This is based on https://github.com/pulumi/pulumi/pull/16560 which was reverted in https://github.com/pulumi/pulumi/pull/16642. Unlike the previous PR, this only adds the `dependsOn` option to output invokes (those that return an output, and use SDK invokeOutput function internally). https://github.com/pulumi/pulumi/discussions/17710 Fixes https://github.com/pulumi/pulumi/issues/17748 |
||
---|---|---|
.. | ||
cgstrings | ||
convert | ||
docs | ||
dotnet | ||
gen_program_test | ||
go | ||
hcl2 | ||
nodejs | ||
pcl | ||
python | ||
report | ||
schema | ||
testing | ||
README.md | ||
docs.go | ||
docs_test.go | ||
programs.md | ||
sdks.md | ||
utilities.go | ||
utilities_test.go | ||
utilities_types.go |
README.md
(codegen)= (crosscode)=
Code generation
Code generation is essential to Pulumi's ability to support both a variety of programming languages and a variety of cloud providers. This package defines the core components of Pulumi's code generation functionality (known as Pulumi CrossCode). At a high level, code generation is used to manage three categories of output: SDKs, programs, and documentation. At a lower level, these all make use of a number of shared concepts such as schema and Pulumi Configuration Language (PCL).
:::{toctree} :maxdepth: 1 :titlesonly:
/pkg/codegen/sdks.md /pkg/codegen/programs.md /pkg/codegen/docs/README /pkg/codegen/schema/README /pkg/codegen/pcl/README :::