Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 1.53 KB

manual_option_list.md

File metadata and controls

54 lines (40 loc) · 1.53 KB
page_title subcategory description
morpheus_manual_option_list Resource - terraform-provider-morpheus
Provides a Morpheus manual option list resource.

morpheus_manual_option_list

Provides a Morpheus manual option list resource.

Example Usage

resource "morpheus_manual_option_list" "tf_example_manual_option_list" {
  name        = "tf_example_manual_option_list"
  description = "Terraform manual option list example"
  dataset     = <<POLICY
[{"name": "Level 1","value":"level1"},
 {"name": "Level 2","value":"level2"},
 {"name": "Level 3","value":"level3"}
]
POLICY
  real_time   = true
}

Schema

Required

  • name (String) The name of the option list

Optional

  • dataset (String) The dataset for the manual option list
  • description (String) The description of the option list
  • labels (Set of String) The organization labels associated with the option list (Only supported on Morpheus 5.5.3 or higher)
  • real_time (Boolean) Whether the list is refreshed every time an associated option type is requested
  • translation_script (String) A js script to translate the result data object into an Array containing objects with properties 'name’ and 'value’.
  • visibility (String) Whether the option list is visible in sub-tenants or not

Read-Only

  • id (String) The ID of the manual option list

Import

Import is supported using the following syntax:

terraform import morpheus_manual_option_list.tf_example_manual_option_list 1