page_title | subcategory | description |
---|---|---|
morpheus_manual_option_list Resource - terraform-provider-morpheus |
Provides a Morpheus manual option list resource. |
Provides a Morpheus manual option list resource.
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
}
name
(String) The name of the option list
dataset
(String) The dataset for the manual option listdescription
(String) The description of the option listlabels
(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 requestedtranslation_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
id
(String) The ID of the manual option list
Import is supported using the following syntax:
terraform import morpheus_manual_option_list.tf_example_manual_option_list 1