Pulumi Concepts Inputs and Outputs: Difference between revisions
Jump to navigation
Jump to search
(→Output) |
No edit summary |
||
Line 6: | Line 6: | ||
=Overview= | =Overview= | ||
The Pulumi [[Pulumi_Concepts#Programming_Model|programming model]] includes the concepts of Input and Output values, which model how output of one [[Pulumi_Concepts#Resource|resource]] flow in as inputs of another resource. | |||
=Output= | =Output= | ||
An Output encodes the relationship between infrastructure [[Pulumi_Concepts#Resource|resources]] and a Pulumi application, by holding onto a piece of data and the resource it was generated from. When a consumer resource needs a piece of data generated by a provider resource, the consumer resource gets the Output of the provider resource, allowing it to know both the data value, and the provider resource it came from. This allows building a resource dependency graph, which Pulumi used to track dependencies between resources. | An Output encodes the relationship between infrastructure [[Pulumi_Concepts#Resource|resources]] and a Pulumi application, by holding onto a piece of data and the resource it was generated from. When a consumer resource needs a piece of data generated by a provider resource, the consumer resource gets the Output of the provider resource, allowing it to know both the data value, and the provider resource it came from. This allows building a resource dependency graph, which Pulumi used to track dependencies between resources. | ||
Also see: {{Internal|Pulumi_Concepts#Stack_Output|Stack Outputs}} | |||
=Input= | =Input= | ||
=Promise= | |||
=Organizatorium= | |||
<font color=darkkhaki> | |||
* TO PROCESS: https://www.pulumi.com/docs/intro/concepts/inputs-outputs/ | |||
* <code>pulumi.Output.concat(...)</code> | |||
* https://github.com/pulumi/pulumi/issues/3722 | |||
</font> |
Revision as of 03:10, 13 January 2022
External
Internal
Overview
The Pulumi programming model includes the concepts of Input and Output values, which model how output of one resource flow in as inputs of another resource.
Output
An Output encodes the relationship between infrastructure resources and a Pulumi application, by holding onto a piece of data and the resource it was generated from. When a consumer resource needs a piece of data generated by a provider resource, the consumer resource gets the Output of the provider resource, allowing it to know both the data value, and the provider resource it came from. This allows building a resource dependency graph, which Pulumi used to track dependencies between resources.
Also see:
Input
Promise
Organizatorium
- TO PROCESS: https://www.pulumi.com/docs/intro/concepts/inputs-outputs/
pulumi.Output.concat(...)
- https://github.com/pulumi/pulumi/issues/3722