Skip to content

Latest commit

 

History

History
56 lines (42 loc) · 1.65 KB

operational_workflow.md

File metadata and controls

56 lines (42 loc) · 1.65 KB
page_title subcategory description
morpheus_operational_workflow Resource - terraform-provider-morpheus
Provides a Morpheus operational workflow resource.

morpheus_operational_workflow

Provides a Morpheus operational workflow resource.

Example Usage

resource "morpheus_operational_workflow" "tf_example_operational_workflow" {
  name                = "tf_example_operational_workflow"
  description         = "Terraform operational workflow example"
  labels              = ["demo", "terraform"]
  platform            = "all"
  visibility          = "private"
  allow_custom_config = true
  option_types = [
    1730
  ]
  task_ids = [18]
}

Schema

Required

  • name (String) The name of the operational workflow

Optional

  • allow_custom_config (Boolean) Allow a custom configuration to be supplied
  • description (String) The description of the operational workflow
  • labels (Set of String) The organization labels associated with the workflow (Only supported on Morpheus 5.5.3 or higher)
  • option_types (List of Number) The option types associated with the operational workflow
  • platform (String) The operating system platforms the operational workflow is supported to run on
  • task_ids (List of Number) A list of tasks ids associated with the operational workflow
  • visibility (String) Whether the operational workflow is visible in sub-tenants or not

Read-Only

  • id (String) The ID of the operational workflow

Import

Import is supported using the following syntax:

terraform import morpheus_operational_workflow.tf_example_operational_workflow 1