oci_dataflow_invoke_run

This resource provides the Invoke Run resource in Oracle Cloud Infrastructure Data Flow service.

Creates a run for an application.

Example Usage

resource "oci_dataflow_invoke_run" "test_invoke_run" {
    #Required
    compartment_id = var.compartment_id

    #Optional
    application_id = oci_dataflow_application.test_application.id
    application_log_config {
        #Required
        log_group_id = oci_logging_log_group.test_log_group.id
        log_id = oci_logging_log.test_log.id
    }
    archive_uri = var.invoke_run_archive_uri
    arguments = var.invoke_run_arguments
    configuration = var.invoke_run_configuration
    defined_tags = {"Operations.CostCenter"= "42"}
    display_name = var.invoke_run_display_name
    driver_shape = var.invoke_run_driver_shape
    driver_shape_config {

        #Optional
        memory_in_gbs = var.invoke_run_driver_shape_config_memory_in_gbs
        ocpus = var.invoke_run_driver_shape_config_ocpus
    }
    execute = var.invoke_run_execute
    executor_shape = var.invoke_run_executor_shape
    executor_shape_config {

        #Optional
        memory_in_gbs = var.invoke_run_executor_shape_config_memory_in_gbs
        ocpus = var.invoke_run_executor_shape_config_ocpus
    }
    freeform_tags = {"Department"= "Finance"}
    idle_timeout_in_minutes = var.invoke_run_idle_timeout_in_minutes
    logs_bucket_uri = var.invoke_run_logs_bucket_uri
    max_duration_in_minutes = var.invoke_run_max_duration_in_minutes
    metastore_id = var.metastore_id
    num_executors = var.invoke_run_num_executors
    opc_parent_rpt_url = var.invoke_run_opc_parent_rpt_url
    parameters {
        #Required
        name = var.invoke_run_parameters_name
        value = var.invoke_run_parameters_value
    }
    pool_id = oci_dataflow_pool.test_pool.id
    spark_version = var.invoke_run_spark_version
    type = var.invoke_run_type
    warehouse_bucket_uri = var.invoke_run_warehouse_bucket_uri
}

Argument Reference

The following arguments are supported:

* IMPORTANT * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain operations: * create - (Defaults to 20 minutes), when creating the Invoke Run * update - (Defaults to 20 minutes), when updating the Invoke Run * delete - (Defaults to 20 minutes), when destroying the Invoke Run

Import

InvokeRuns can be imported using the id, e.g.

$ terraform import oci_dataflow_invoke_run.test_invoke_run "id"

Note

At a time service allows only one run to succeed if user is trying to invoke runs on multiple applications which have Private Endpoints and service will proceed invoking only one run and put the rest of them in failed state.