page_title | subcategory | description |
---|---|---|
morpheus_write_attributes_task Resource - terraform-provider-morpheus |
Provides a Morpheus write attributes task resource |
Provides a Morpheus write attributes task resource
resource "morpheus_write_attributes_task" "tfexample_write_attributes" {
name = "tfexample_write_attributes"
code = "tfexample_write_attributes"
labels = ["demo", "terraform"]
attributes = <<EOF
{"demo":"test"}
EOF
retryable = true
retry_count = 1
retry_delay_seconds = 10
allow_custom_config = true
}
name
(String) The name of the write attributes task
allow_custom_config
(Boolean) Custom configuration data to pass during the execution of the write attributes taskattributes
(String) The attributes payloadcode
(String) The code of the write attributes 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 write attributes task
Import is supported using the following syntax:
terraform import morpheus_write_attributes.tfexample_write_attributes 1