page_title | subcategory | description |
---|---|---|
morpheus_library_template_task Resource - terraform-provider-morpheus |
Provides a Morpheus library template task resource |
Provides a Morpheus library template task resource
Creating the library template task using a file template data source:
data "morpheus_file_template" "example_file_template" {
name = "My file template"
}
resource "morpheus_library_template_task" "tf_example_library_template_task" {
name = "Example Terraform Library Template Task"
code = "tf-example-library-template-task"
labels = ["demo", "library", "terraform"]
execute_target = "resource"
file_template = data.morpheus_file_template.example_file_template.name
file_template_id = data.morpheus_file_template.example_file_template.id
retryable = true
retry_count = 1
retry_delay_seconds = 10
allow_custom_config = true
}
name
(String) The name of the library template task
allow_custom_config
(Boolean) Custom configuration data to pass during the execution of the library templatecode
(String) The code of the library template taskexecute_target
(String) The target for the library templatefile_template
(String) The name of the library file template in Morpheusfile_template_id
(String) The library file template id in Morpheuslabels
(Set of String) The organization labels associated with the library template task (Only supported on Morpheus 5.5.3 or higher)result_type
(String) The expected result type (value, keyValue, json)retry_count
(Number) The number of times to retry the library task if there is a failureretry_delay_seconds
(Number) The number of seconds to wait between retry attemptsretryable
(Boolean) Whether to retry the library task if there is a failurevisibility
(String) The visibility of the task (private or public)
id
(String) The ID of the library template task
Import is supported using the following syntax:
terraform import morpheus_library_template_task.tf_example_library_template_task 1