oci_opensearch_opensearch_cluster_pipeline

This resource provides the Opensearch Cluster Pipeline resource in Oracle Cloud Infrastructure Opensearch service.

Creates a new OpensearchCluster Pipeline.

Example Usage

resource "oci_opensearch_opensearch_cluster_pipeline" "test_opensearch_cluster_pipeline" {
	#Required
	compartment_id = var.compartment_id
	data_prepper_configuration_body = var.opensearch_cluster_pipeline_data_prepper_configuration_body
	display_name = var.opensearch_cluster_pipeline_display_name
	memory_gb = var.opensearch_cluster_pipeline_memory_gb
	node_count = var.opensearch_cluster_pipeline_node_count
	ocpu_count = var.opensearch_cluster_pipeline_ocpu_count
	pipeline_configuration_body = var.opensearch_cluster_pipeline_pipeline_configuration_body

	#Optional
	defined_tags = {"foo-namespace.bar-key"= "value"}
	freeform_tags = {"bar-key"= "value"}
	nsg_id = oci_opensearch_nsg.test_nsg.id
	opc_dry_run = var.opensearch_cluster_pipeline_opc_dry_run
	reverse_connection_endpoints {
		#Required
		customer_fqdn = var.opensearch_cluster_pipeline_reverse_connection_endpoints_customer_fqdn
		customer_ip = var.opensearch_cluster_pipeline_reverse_connection_endpoints_customer_ip
	}
	subnet_compartment_id = oci_identity_compartment.test_compartment.id
	subnet_id = oci_core_subnet.test_subnet.id
	vcn_compartment_id = oci_identity_compartment.test_compartment.id
	vcn_id = oci_core_vcn.test_vcn.id
}

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

Import

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

$ terraform import oci_opensearch_opensearch_cluster_pipeline.test_opensearch_cluster_pipeline "id"