oci_golden_gate_pipeline

This resource provides the Pipeline resource in Oracle Cloud Infrastructure Golden Gate service.

Creates a new Pipeline.

Example Usage

resource "oci_golden_gate_pipeline" "test_pipeline" {
	#Required
	compartment_id = var.compartment_id
	display_name = var.pipeline_display_name
	license_model = var.pipeline_license_model
	recipe_type = var.pipeline_recipe_type
	source_connection_details {
		#Required
		connection_id = oci_golden_gate_connection.test_connection.id
	}
	target_connection_details {
		#Required
		connection_id = oci_golden_gate_connection.test_connection.id
	}

	#Optional
	defined_tags = {"foo-namespace.bar-key"= "value"}
	description = var.pipeline_description
	freeform_tags = {"bar-key"= "value"}
	locks {
		#Required
		type = var.pipeline_locks_type

		#Optional
		message = var.pipeline_locks_message
		related_resource_id = oci_cloud_guard_resource.test_resource.id
		time_created = var.pipeline_locks_time_created
	}
	process_options {
		#Required
		initial_data_load {
			#Required
			is_initial_load = var.pipeline_process_options_initial_data_load_is_initial_load

			#Optional
			action_on_existing_table = var.pipeline_process_options_initial_data_load_action_on_existing_table
		}
		replicate_schema_change {
			#Required
			can_replicate_schema_change = var.pipeline_process_options_replicate_schema_change_can_replicate_schema_change

			#Optional
			action_on_ddl_error = var.pipeline_process_options_replicate_schema_change_action_on_ddl_error
			action_on_dml_error = var.pipeline_process_options_replicate_schema_change_action_on_dml_error
		}
		should_restart_on_failure = var.pipeline_process_options_should_restart_on_failure
	}
}

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

Import

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

$ terraform import oci_golden_gate_pipeline.test_pipeline "id"