oci_dataflow_pool

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

Create a pool to be used by dataflow runs or applications.

Example Usage

resource "oci_dataflow_pool" "test_pool" {
	#Required
	compartment_id = var.compartment_id
	configurations {

		#Optional
		max = var.pool_configurations_max
		min = var.pool_configurations_min
		shape = var.pool_configurations_shape
		shape_config {

			#Optional
			memory_in_gbs = var.pool_configurations_shape_config_memory_in_gbs
			ocpus = var.pool_configurations_shape_config_ocpus
		}
	}
	display_name = var.pool_display_name

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	description = var.pool_description
	freeform_tags = {"Department"= "Finance"}
	idle_timeout_in_minutes = var.pool_idle_timeout_in_minutes
	schedules {

		#Optional
		day_of_week = var.pool_schedules_day_of_week
		start_time = var.pool_schedules_start_time
		stop_time = var.pool_schedules_stop_time
	}
}

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 Pool * update - (Defaults to 20 minutes), when updating the Pool * delete - (Defaults to 20 minutes), when destroying the Pool

Import

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

$ terraform import oci_dataflow_pool.test_pool "id"