ivkcs_agent_script_result data source
The arguments of the ivkcs_agent_script_result data source are provided in table 1.
Table 1 — Arguments of the ivkcs_agent_script_result data source
Name | Description | Format | Required |
|---|---|---|---|
| Service deployment identifier | string | |
| The name of the host where the script was executed. Corresponds to the name specified in the | string | |
| The name of the script group. Corresponds to the value of the | string | |
| The script index. Corresponds to the value of the | integer |
The ivkcs_agent_script_result data source returns the attributes provided in table 2.
Table 2 — Attributes of the ivkcs_agent_script_result data source
Name | Description |
|---|---|
| The script execution result |
| The formatted result of the script execution |
Example of the `ivkcs_agent_script_result` data source
data "ivkcs_agent_script_result" "step_1_result" {uuid = var.instance_uuidhost = local.hosts_names[0]group = ivkcs_agent_exec.start.nameindex = 1depends_on = [ivkcs_agent_exec.start]}
Was this article helpful?