oci_database_tools_database_tools_private_endpoint

This resource provides the Database Tools Private Endpoint resource in Oracle Cloud Infrastructure Database Tools service.

Creates a new Database Tools private endpoint.

Example Usage

resource "oci_database_tools_database_tools_private_endpoint" "test_database_tools_private_endpoint" {
	#Required
	compartment_id = var.compartment_id
	display_name = var.database_tools_private_endpoint_display_name
	endpoint_service_id = oci_core_service.test_service.id
	subnet_id = oci_core_subnet.test_subnet.id

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

		#Optional
		message = var.database_tools_private_endpoint_locks_message
		related_resource_id = oci_usage_proxy_resource.test_resource.id
		time_created = var.database_tools_private_endpoint_locks_time_created
	}
	nsg_ids = var.database_tools_private_endpoint_nsg_ids
	private_endpoint_ip = var.database_tools_private_endpoint_private_endpoint_ip
}

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

Import

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

$ terraform import oci_database_tools_database_tools_private_endpoint.test_database_tools_private_endpoint "id"