resource "highbond_robot_task" "main" {
robot_id = highbond_robot.main.id
app_version = highbond_robot_app.main.version
email_notifications_enabled = false
environment = highbond_robot_activation.main.environment
log_enabled = false
name = "Feb 25 Terraform Task"
publish_to_results = false
public_key_name = "Sample encryption key"
share_encrypted = true
analytic_names = ["Testing Cloud Uni"]
force_updates = true
schedule {
frequency = "weekly"
interval = 1
starts_at = "2029-05-04T10:00:00.000Z"
starts_at_timezone = "Etc/UTC"
settings {
days = [2]
}
}
values {
analytic_name = "Testing Cloud Uni"
parameter_id = "v_character"
encrypted = false
data {
type = "character"
value = "A New Value" // Use this field for setting single value.
}
}
values {
analytic_name = "Testing Cloud Uni"
parameter_id = "v_character"
encrypted = false
data {
type = "character"
value_array = ["value 1", "value2"] // Use this field for setting multiple values.
}
}
values {
analytic_name = "Test_task"
parameter_id = "var3"
encrypted = false
data {
type = "logical"
value_bool = true // Use this field for setting boolean values
}
}
}
name
(String) The name of the taskrobot_id
(String) The ID of the robotanalytic_names
(List of String) A list of the names of scripts to runapp_version
(Number) The version of the scriptemail_notifications_enabled
(Boolean) If true, an email notification is sent to one or more specific users if the task failsenvironment
(String) The environment of the scriptforce_updates
(Boolean) Allows overriding top-level 'create_only' option.log_enabled
(Boolean) If true, a log is available every time the analytic is runpublic_key_name
(String) The public RSA key for encrypting password valuespublish_to_results
(Boolean) This is not currently supportedschedule
(Block List, Max: 1) (see below for nested schema)share_encrypted
(Boolean) If true, any user with access to the robot can run, disable, or enable the task. If false, only the user who entered the password can run, disable, or enable the taskvalues
(Block Set) (see below for nested schema)conflicts
(Map of String) Specifies the conflicts related to a script activation.created_at
(String) The date when the task was createdenabled
(Boolean) Specifies whether the task is enabled. You cannot run a disabled taskid
(String) The ID of this resource.next_runs
(String) Specifies when the task will next runtask_count
(Number)updated_at
(String) The date when the task was updatedschedule
Required:
frequency
(String) The interval at which the task is repeatedly runinterval
(Number) The interval in minutes between runs. To safeguard the HighBond API against bursts of usage, there is a minimum interval of 10 minutes between runsstarts_at
(String) The time of day to start running the taskstarts_at_timezone
(String) The timezone used to start running the taskOptional:
settings
(Block List, Max: 1) (see below for nested schema)Read-Only:
last_run_at
(String) The time when robot task was last run atnext_run_at
(String) The time when robot task will next run atschedule.settings
Optional:
days
(List of Number) The days that the task is scheduled to run. If the task is scheduled to run on a weekly frequency, days are represented from 0 to 6, where 0 represents Sunday and 6 represents Saturday. If the task is scheduled to run on a monthly frequency, days is represented as a number between 1 and 28 or specified as last_day. days does not return anything for once, hourly, and daily frequenciesvalues
Required:
analytic_name
(String) The name of the script, which is used as a parameter valuedata
(Block List, Min: 1, Max: 1) (see below for nested schema)parameter_id
(String) The identifier of the parameterOptional:
encrypted
(Boolean) If true, the script contains a PASSWORD analytic tag, which prompts the user for a password before running the analytic, and encrypts the entered value. The PASSWORD parameter is required in any command that imports from or exports to HighBondvalues.data
Optional:
type
(String) The data type of the value czn have possible values: character, date, datetime, file, logical, number,table, timevalue
(String) A user-facing input parameter of type string, which lets a user specify script input values in advance. This allows an analytic script to run unattended, either immediately, or at a scheduled timevalue_array
(List of String) A user-facing input parameter of type array, which lets a user specify script input values in advance. This allows an analytic script to run unattended, either immediately, or at a scheduled timevalue_bool
(Boolean) A user-facing input parameter of type bool, which lets a user specify script input values in advance. This allows an analytic script to run unattended, either immediately, or at a scheduled time