Managing Inputs and Outputs
Cloudify Composer enables you to add inputs and outputs to the Blueprint under the Inputs & Outputs node.
Inputs are parameters that are injected into a blueprint when a deployment is created. They enable you to add data that might not have been available when a blueprint was created. They also enable you to create different “flavors” of a blueprint.
Outputs provide a method to expose global aspects of a blueprint’s deployment. For example, the endpoint of a server, or runtime or static information about a specific resource.
Inputs and outputs can be referenced from other parts of the topology, using the get-input
intrinsic function.
Adding an Input
- On the Inputs & Outputs node, enter a name and description for your input.
- (Optional) Specify an input value in the Default field.
You can drag the base of the field to see multiple lines, or click the edit icon next to it to display its contents in a separate window. - Select the data type from the dropdown options.
- Click the Plus (+) icon to add the input to the list.
For more information about inputs, click here.
Adding an Output
You must specify an output value in order for the deployment to pass validation.
- On the Inputs & Outputs node, enter a name and description for your output.
- Specify the output value in the Default field.
You can drag the base of the field to see multiple lines, or click the edit icon next to it to display its contents in a separate window. - Click the Plus (+) icon to add the output to the list.