page_title | subcategory | description |
---|---|---|
morpheus_restart_task Resource - terraform-provider-morpheus |
Provides a Morpheus restart task resource |
Provides a Morpheus restart task resource
resource "morpheus_restart_task" "tfexample_restart" {
name = "tfexample_restart"
code = "tfexample_restart"
labels = ["demo", "terraform"]
retryable = true
retry_count = 1
retry_delay_seconds = 10
allow_custom_config = true
}
name
(String) The name of the restart task
allow_custom_config
(Boolean) Custom configuration data to pass during the execution of the restart taskcode
(String) The code of the restart tasklabels
(Set of String) The organization labels associated with the task (Only supported on Morpheus 5.5.3 or higher)retry_count
(Number) The number of times to retry the task if there is a failureretry_delay_seconds
(Number) The number of seconds to wait between retry attemptsretryable
(Boolean) Whether to retry the task if there is a failure
id
(String) The ID of the restart task
Import is supported using the following syntax:
terraform import morpheus_restart_task.tf_example_restart_task_script 1