page_title | subcategory | description |
---|---|---|
morpheus_provisioning_workflow Resource - terraform-provider-morpheus |
Provides a Morpheus provisioning workflow resource. |
Provides a Morpheus provisioning workflow resource.
resource "morpheus_provisioning_workflow" "tf_example_provisioning_workflow" {
name = "tf_example_provisioning_workflow"
description = "Terraform provisioning workflow example"
labels = ["demo", "terraform"]
platform = "all"
visibility = "private"
task {
task_id = 18
task_phase = "configure"
}
}
name
(String) The name of the provisioning workflow
description
(String) The description of the provisioning workflowlabels
(Set of String) The organization labels associated with the workflow (Only supported on Morpheus 5.5.3 or higher)platform
(String) The operating system platforms the provisioning workflow is supported on (all, linux, macos, windows)task
(Block List) A list of tasks associated with the provisioning workflow (see below for nested schema)visibility
(String) Whether the provisioning workflow is visible in sub-tenants or not
id
(String) The ID of the provisioning workflow
Required:
task_id
(Number) The ID of the task to associate with the provisioning workflowtask_phase
(String) The phase that the task is executed (configure, price, preProvision, provision, postProvision, start, stop, preDeploy, deploy, reconfigure, teardown, shutdown, startup)
Import is supported using the following syntax:
terraform import morpheus_provisioning_workflow.tf_example_provisioning_workflow 1