oci_resourcemanager_private_endpoint

This resource provides the Private Endpoint resource in Oracle Cloud Infrastructure Resource Manager service.

Creates a a private endpoint in the specified compartment.

Example Usage

resource "oci_resourcemanager_private_endpoint" "test_private_endpoint" {
	#Required
	compartment_id = var.compartment_id
	display_name = var.private_endpoint_display_name
	subnet_id = oci_core_subnet.test_subnet.id
	vcn_id = oci_core_vcn.test_vcn.id

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	description = var.private_endpoint_description
	dns_zones = var.private_endpoint_dns_zones
	freeform_tags = {"Department"= "Finance"}
	is_used_with_configuration_source_provider = var.private_endpoint_is_used_with_configuration_source_provider
	nsg_id_list = var.private_endpoint_nsg_id_list
}

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_resourcemanager_private_endpoint.test_private_endpoint "id"