You must manually add any Automation Orchestrator actions to your cloud template.
When creating a custom resource based on Automation Orchestrator workflows, the resource schema is based on the data coming from Automation Orchestrator. All workflow input and output properties are automatically added as custom resource properties. Any input properties associated with Automation Orchestrator actions must be added manually.
Requisitos previos
Create a custom resource and add it to a cloud template.
Procedimiento
- Navigate to and select your cloud template.
- Select the custom resource from the cloud template canvas.
- Select the Inputs tab, and click New Cloud Template Input.
- Enter a name for the new input parameter.
- Under Default value source, select External source.
- Click Select.
- Enter the name of the Automation Orchestrator action you want to add as an input parameter.
- Verify the action parameters and click Save.
- To finish adding the new input parameter, click Create.
- Select the Code tab, and bind the input parameter to the resource property by using the
${input.prop}
method.
Resultados
You have added a Automation Orchestrator action as an input parameter to your custom resource.