page_title | subcategory | description |
---|---|---|
morpheus_text_option_type Resource - terraform-provider-morpheus |
Provides a Morpheus text option type resource |
Provides a Morpheus text option type resource
resource "morpheus_text_option_type" "tf_example_text_option_type" {
name = "tf_example_text_option_type"
description = "Terraform text option type example"
labels = ["demo", "terraform"]
field_name = "test1"
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 = "numbers"
placeholder = "fewf"
default_value = "testing"
help_block = "fiwefw"
required = true
verify_pattern = "a\\D{4}"
}
name
(String) The name of the text 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 text option typedisplay_value_on_details
(Boolean) Display the selected value of the text 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 text option type as a tagfield_label
(String) The label associated with the field in the UIfield_name
(String) The field name of the text 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 determine whether the field is required or notrequired
(Boolean) Whether the option type is requiredshow_on_edit
(Boolean) Whether the option type will display in the edit section of the provisioned resourceverify_pattern
(String) The regex pattern used to validate the enteredvisibility_field
(String) The field or code used to trigger the visibility of the field
id
(String) The ID of the text option type
Import is supported using the following syntax:
terraform import morpheus_text_option_type.tf_example_text_option_type 1