page_title | subcategory | description |
---|---|---|
morpheus_vro_task Resource - terraform-provider-morpheus |
Provides a Morpheus vRealize Orchestrator (vRO) task resource |
Provides a Morpheus vRealize Orchestrator (vRO) task resource
data "morpheus_vro_workflow" "tf_example_vro_workflow" {
name = "My vRO Workflow Name"
}
resource "morpheus_vro_task" "tf_example_vro_task" {
name = "tfexample vro-task"
code = "tfexample-vro-task"
labels = ["demo", "terraform"]
vro_integration_id = morhpeus_vro_integration.tf_example_vro_integration.id
vro_workflow_value = data.morpheus_vro_workflow.tf_example_vro_workflow.value
body = <<EOF
{
"parameters": [
{
"name": "vmName",
"type": "string",
"value": {
"string": {
"value": "<%=instance.hostname%>"
}
}
}
]
}
EOF
execute_target = "local"
retryable = false
}
name
(String) The name of the vRO workflow taskvro_integration_id
(Number) The ID of the vRO integrationvro_workflow_value
(Number) The value of the vRO workflow
allow_custom_config
(Boolean) Custom configuration data to pass during the execution of the vRO workflow taskbody
(String) The JSON body to send to vROcode
(String) The code of the vRO workflow taskexecute_target
(String) The target that the vRO workflow will be executed onlabels
(Set of String) The organization labels associated with the task (Only supported on Morpheus 5.5.3 or higher)result_type
(String) The expected result type (value, keyValue, json)retry_count
(Number) The number of times to retry the task if there is a failureretry_delay_seconds
(Number) The number of seconds to wait between retry attemptsretryable
(Boolean) Whether to retry the task if there is a failure
id
(String) The ID of the vRO workflow task
Import is supported using the following syntax:
terraform import morpheus_vro_task.tf_example_vro_task 1