oci_dataflow_private_endpoint

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

Creates a private endpoint to be used by applications.

Example Usage

resource "oci_dataflow_private_endpoint" "test_private_endpoint" {
	#Required
	compartment_id = var.compartment_id
	dns_zones = var.private_endpoint_dns_zones
	subnet_id = oci_core_subnet.test_subnet.id

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	description = var.private_endpoint_description
	display_name = var.private_endpoint_display_name
	freeform_tags = {"Department"= "Finance"}
	max_host_count = var.private_endpoint_max_host_count
	nsg_ids = var.private_endpoint_nsg_ids
	scan_details {

		#Optional
		fqdn = var.private_endpoint_scan_details_fqdn
		port = var.private_endpoint_scan_details_port
	}
}

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

Import

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

$ terraform import oci_dataflow_private_endpoint.test_private_endpoint "id"

Note

When a Private Endpoint resource is created it will be in INACTIVE state. When user runs an application using a Private Endpoint resource only then it moves to ACTIVE state. Also if there is already a Private Endpoint resource that is in ACTIVE state then on running the new application, the new Private Endpoint will be moved to ACTIVE state while the old one will be moved to INACTIVE state by the service. To update these states in your terraform state file user needs to do a terraform refresh.