page_title | subcategory | description |
---|---|---|
morpheus_number_option_type Resource - terraform-provider-morpheus |
Provides a Morpheus number option type resource |
Provides a Morpheus number option type resource
resource "morpheus_number_option_type" "tf_example_number_option_type" {
name = "tf_example_number_option_type"
description = "Terraform number option type example"
labels = ["demo", "terraform"]
field_name = "tfNumberExample"
export_meta = true
dependent_field = "dependent_example"
visibility_field = "visibility_example"
require_field = "require_example"
show_on_edit = true
editable = true
display_value_on_details = true
field_label = "Number Example"
placeholder = "12"
default_value = "1"
help_block = "Provide a number"
required = true
}
name
(String) The name of the number option type
default_value
(String) The default value of the option typedependent_field
(String) The field or code used to trigger the reloading of the fielddescription
(String) The description of the number option typedisplay_value_on_details
(Boolean) Display the selected value of the number option type on the associated resource's details pageeditable
(Boolean) Whether the value of the option type can be edited after the initial requestexport_meta
(Boolean) Whether to export the number option type as a tagfield_label
(String) The label associated with the field in the UIfield_name
(String) The field name of the number option typehelp_block
(String) Text that provides additional details about the use of the option typelabels
(Set of String) The organization labels associated with the option type (Only supported on Morpheus 5.5.3 or higher)placeholder
(String) Text in the field used as a placeholder for example purposesrequire_field
(String) The field or code used to trigger the requirement of this fieldrequired
(Boolean) Whether the option type is requiredshow_on_edit
(Boolean) Whether the option type will display in the edit section of the provisioned resourcevisibility_field
(String) The field or code used to trigger the visibility of the field
id
(String) The ID of the number option type
Import is supported using the following syntax:
terraform import morpheus_number_option_type.tf_example_number_option_type 1