oci_datacatalog_connection

This resource provides the Connection resource in Oracle Cloud Infrastructure Data Catalog service.

Creates a new connection.

Example Usage

resource "oci_datacatalog_connection" "test_connection" {
	#Required
	catalog_id = oci_datacatalog_catalog.test_catalog.id
	data_asset_key = var.connection_data_asset_key
	display_name = var.connection_display_name
	properties = var.connection_properties
	type_key = var.connection_type_key

	#Optional
	description = var.connection_description
	enc_properties = var.connection_enc_properties
	is_default = var.connection_is_default
}

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

Import

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

$ terraform import oci_datacatalog_connection.test_connection "catalogs/{catalogId}/dataAssets/{dataAssetKey}/connections/{connectionKey}"