Skip to content

Latest commit

 

History

History
68 lines (54 loc) · 2.62 KB

workflow_catalog_item.md

File metadata and controls

68 lines (54 loc) · 2.62 KB
page_title subcategory description
morpheus_workflow_catalog_item Resource - terraform-provider-morpheus
Provides a Morpheus workflow catalog item resource

morpheus_workflow_catalog_item

Provides a Morpheus workflow catalog item resource

Example Usage

resource "morpheus_workflow_catalog_item" "tfexample_workflow_catalog_item" {
  name                 = "tfexample_workflow_catalog_item"
  description          = "Example Terraform workflow catalog item"
  logo_image_path      = "wordpress.png"
  logo_image_name      = "wordpress.png"
  dark_logo_image_path = "wordpressbak.png"
  dark_logo_image_name = "wordpressbak.png"
  enabled              = true
  featured             = true
  labels               = ["aws", "demo"]
  workflow_id          = 1
  option_type_ids      = [2056, 2006]
  context_type         = "appliance"
  content              = file("${path.module}/catalog-data.md")
  visibility           = "public"
}

Schema

Required

  • name (String) The name of the workflow catalog item
  • visibility (String) The visibility of the workflow catalog item (public or private)
  • workflow_id (Number) The id of the workflow associated with the workflow catalog item

Optional

  • category (String) The category of the workflow catalog item
  • content (String) The markdown content associated with the workflow catalog item
  • context_type (String) The Morpheus context type of the operational workflow
  • dark_logo_image_name (String) The file name of the workflow catalog item dark mode logo image
  • dark_logo_image_path (String) The file path of the workflow catalog item dark mode logo image including the file name
  • description (String) The description of the workflow catalog item
  • enabled (Boolean) Whether the workflow catalog item is enabled
  • featured (Boolean) Whether the workflow catalog item is featured
  • form_id (Number) The id of the form associated with the workflow catalog item
  • labels (Set of String) The organization labels associated with the catalog item (Only supported on Morpheus 5.5.3 or higher)
  • logo_image_name (String) The file name of the workflow catalog item logo image
  • logo_image_path (String) The file path of the workflow catalog item logo image including the file name
  • option_type_ids (List of Number) The list of option type ids associated with the workflow catalog item

Read-Only

  • id (String) The ID of the workflow catalog item

Import

Import is supported using the following syntax:

terraform import morpheus_workflow_catalog_item.tf_example_workflow_catalog_item 1